From ee157b0e84114b250fba6adf57608d0d609aa108 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 21 Dec 2017 15:18:16 +0800 Subject: [PATCH] * fix bug #1342. --- module/story/model.php | 1 - 1 file changed, 1 deletion(-) diff --git a/module/story/model.php b/module/story/model.php index a6141dd336..815bd46bae 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -2287,7 +2287,6 @@ class storyModel extends model } $plans = $this->dao->select('id,title')->from(TABLE_PRODUCTPLAN) ->where('product')->in($productID) - ->beginIF($branch)->andWhere('branch')->in($branch)->fi() ->andWhere('deleted')->eq(0) ->fetchPairs('id', 'title'); $stages = $this->dao->select('*')->from(TABLE_STORYSTAGE)->where('branch')->in($branch)->fetchGroup('story', 'branch');