From 00fa11813d07b3a35150fc7fa32cd73096f2d413 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Mon, 30 Apr 2012 07:37:34 +0000 Subject: [PATCH] * when create diff, add the veryfy as the multiline field. --- 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 b7a8d6cf9a..2ce30282d6 100644 --- a/module/common/control.php +++ b/module/common/control.php @@ -231,7 +231,7 @@ class common extends control if($value != $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', strtolower($key)) !== false) $diff = commonModel::diff($old->$key, $value); + 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); $changes[] = array('field' => $key, 'old' => $old->$key, 'new' => $value, 'diff' => $diff); } }