* fixed the bug: when changing a story, only change the 'verify', it doesn't work.

This commit is contained in:
liukmqd@gmail.com
2011-06-25 08:46:38 +00:00
parent bfc014a1cc
commit 4fd9440980
+1 -1
View File
@@ -144,7 +144,7 @@ class storyModel extends model
$now = helper::now();
$oldStory = $this->getById($storyID);
$specChanged = false;
if($this->post->spec != $oldStory->spec or $this->post->title != $oldStory->title or $this->loadModel('file')->getCount()) $specChanged = true;
if($this->post->spec != $oldStory->spec or $this->post->verify != $oldStory->verify or $this->post->title != $oldStory->title or $this->loadModel('file')->getCount()) $specChanged = true;
$story = fixer::input('post')
->stripTags('title')