From 4fd9440980e42caa1941b7bc91eac43c3df4227d Mon Sep 17 00:00:00 2001 From: "liukmqd@gmail.com" Date: Sat, 25 Jun 2011 08:46:38 +0000 Subject: [PATCH] * fixed the bug: when changing a story, only change the 'verify', it doesn't work. --- module/story/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/model.php b/module/story/model.php index a8144f5ec3..8bf75fec50 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -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')