From 729f39daeb1e458ebaa1da223997f7e9be718d9a Mon Sep 17 00:00:00 2001 From: sgm0422 <976204163@qq.com> Date: Wed, 25 Oct 2017 10:10:24 +0800 Subject: [PATCH] * Fix Bug #1234. --- module/story/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/story/control.php b/module/story/control.php index bf38cb84be..ca02aed857 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -668,7 +668,7 @@ class story extends control $this->story->review($storyID); if(dao::isError()) die(js::error(dao::getError())); $result = $this->post->result; - if($this->post->closedReason != '' and strpos('done,postponed,subdivided', $this->post->closedReason) !== false) $result = 'pass'; + if($this->post->closedReason != '' and strpos('done,postponed,subdivided', $this->post->closedReason) === false) $result = 'pass'; $actionID = $this->action->create('story', $storyID, 'Reviewed', $this->post->comment, ucfirst($result)); $this->story->sendmail($storyID, $actionID); if($this->post->result == 'reject')