From 33a6cf0aac2b782373068991cbcf6f890096d2f6 Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Wed, 9 Jan 2013 02:55:06 +0000 Subject: [PATCH] * fix a bug in createChanges. --- module/common/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);