Fixbug#19044

This commit is contained in:
renying
2022-04-26 07:44:38 +00:00
parent d8939cd2de
commit df378ff26f
+1 -1
View File
@@ -2690,7 +2690,7 @@ class storyModel extends model
{
$storyQuery = str_replace($allBranch, '1', $storyQuery);
}
elseif($branch !== 'all')
elseif($branch !== 'all' and $queryProductID != 'all')
{
if($branch and strpos($storyQuery, '`branch` =') === false) $storyQuery .= " AND `branch` in($branch)";
}