Merge branch 'fixbug'
This commit is contained in:
@@ -3082,7 +3082,7 @@ class storyModel extends model
|
||||
}
|
||||
elseif($branch !== 'all' and $branch !== '' and strpos($storyQuery, '`branch` =') === false and $queryProductID != 'all')
|
||||
{
|
||||
$storyQuery .= " AND `branch` in($branch)";
|
||||
if($branch and strpos($storyQuery, '`branch` =') === false) $storyQuery .= " AND `branch` " . helper::dbIN($branch);
|
||||
}
|
||||
$storyQuery = preg_replace("/`plan` +LIKE +'%([0-9]+)%'/i", "CONCAT(',', `plan`, ',') LIKE '%,$1,%'", $storyQuery);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user