* fixed the bug: when changing a story, only change the 'verify', it doesn't work.
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user