Skip to content

Commit 2e08468

Browse files
committed
1 parent 2e1d4af commit 2e08468

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/tform.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ function datalogSave($action,$primary_id, $record_old, $record_new) {
961961
if(isset($record_new["server_id"])) $server_id = $record_new["server_id"];
962962

963963
if(count($this->diffrec) > 0) {
964-
$diffstr = $app->db->quote(serialize($diffrec_full));
964+
$diffstr = addslashes(serialize($diffrec_full));
965965
$username = $app->db->quote($_SESSION["s"]["user"]["username"]);
966966
$dbidx = $this->formDef['db_table_idx'].":".$primary_id;
967967
// $action = ($action == 'INSERT')?'i':'u';

0 commit comments

Comments
 (0)