diff --git a/module/common/control.php b/module/common/control.php index 37adbcb57c..f82d6f7b84 100644 --- a/module/common/control.php +++ b/module/common/control.php @@ -380,7 +380,7 @@ class common extends control if(strtolower($key) == 'editeddate') continue; if($magicQuote) $value = stripslashes($value); - if($value != $old->$key) + if($value != stripslashes($old->$key)) { $diff = ''; if(substr_count($value, "\n") > 1 or substr_count($old->$key, "\n") > 1 or strpos('name,title,desc,spec,steps,content,digest,verify', strtolower($key)) !== false) $diff = commonModel::diff($old->$key, $value);