* Fix bug #35925.
This commit is contained in:
@@ -3265,7 +3265,7 @@ class storyModel extends model
|
||||
$stories = $this->dao->select("*,IF(`pri` = 0, {$this->config->maxPriValue}, `pri`) as priOrder")->from(TABLE_STORY)
|
||||
->where('product')->in($productID)
|
||||
->andWhere('type')->eq($type)
|
||||
->beginIF($branch)->andWhere("branch")->eq($branch)->fi()
|
||||
->beginIF($branch and $branch != 'all')->andWhere("branch")->eq($branch)->fi()
|
||||
->beginIF($modules)->andWhere("module")->in($modules)->fi()
|
||||
->andWhere('deleted')->eq(0)
|
||||
->andWhere('vision')->eq($this->config->vision)
|
||||
|
||||
Reference in New Issue
Block a user