Skip to content

Commit 891843d

Browse files
danieldaniel
daniel
authored and
daniel
committed
1 parent ade3740 commit 891843d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: plugin/Audit/Objects/AuditTable.php

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function audit($method, $class, $statement, $formats, $values, $users_id) {
2222
$this->class = $class;
2323
$this->statement = substr(str_replace("'", "", $statement),0,1000)."n";
2424
$this->formats = $formats;
25-
$this->values = $values;
25+
$this->values = str_replace(array("'","\\"), array("",""), $values);
2626
$this->ip = getRealIpAddr();
2727
$this->users_id = empty($users_id)?"NULL":$users_id;
2828
return $this->save();

0 commit comments

Comments
 (0)