Skip to content

Commit 313773e

Browse files
committed
1 parent 2e08468 commit 313773e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/lib/classes/modules.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function processDatalog() {
8888
$records = $app->dbmaster->queryAllRecords($sql);
8989
foreach($records as $d) {
9090

91-
$data = unserialize(stripslashes($d["data"]));
91+
$data = unserialize($d["data"]);
9292
$replication_error = false;
9393

9494
$this->current_datalog_id = $d["datalog_id"];
@@ -164,7 +164,7 @@ function processDatalog() {
164164
$sql = "SELECT * FROM sys_datalog WHERE datalog_id > ".$conf['last_datalog_id']." AND (server_id = ".$conf["server_id"]." OR server_id = 0) ORDER BY datalog_id";
165165
$records = $app->db->queryAllRecords($sql);
166166
foreach($records as $d) {
167-
$data = unserialize(stripslashes($d["data"]));
167+
$data = unserialize($d["data"]);
168168
$this->current_datalog_id = $d["datalog_id"];
169169
$this->raiseTableHook($d["dbtable"],$d["action"],$data);
170170
//$app->db->query("DELETE FROM sys_datalog WHERE datalog_id = ".$rec["datalog_id"]);

0 commit comments

Comments
 (0)