From b4f0a9c031cb159fbe90772e89c283f1b0176e28 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 3 May 2017 10:46:23 +0800 Subject: [PATCH] * fix bug for batch update story. --- module/story/model.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/story/model.php b/module/story/model.php index a9d1a13304..77c8f4ff90 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -503,7 +503,6 @@ class storyModel extends model $allChanges = array(); $now = helper::now(); $data = fixer::input('post')->get(); - a($data);exit; $storyIDList = $this->post->storyIDList ? $this->post->storyIDList : array(); /* Init $stories. */ @@ -575,7 +574,6 @@ class storyModel extends model $this->dao->update(TABLE_STORY)->data($story) ->autoCheck() - ->batchCheck($this->config->story->edit->requiredFields, 'notempty') ->checkIF($story->closedBy, 'closedReason', 'notempty') ->checkIF($story->closedReason == 'done', 'stage', 'notempty') ->checkIF($story->closedReason == 'duplicate', 'duplicateStory', 'notempty')