* adjust for all product or project when by search.

This commit is contained in:
wangyidong
2016-05-23 16:35:32 +08:00
parent 926e6b7a32
commit 30ba80d0e0
5 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ class testcaseModel extends model
{
$products = array_keys($this->loadModel('product')->getPrivProducts());
$caseQuery = str_replace($allProduct, '1', $caseQuery);
$caseQuery = $caseQuery . ' AND `product`' . helper::dbIN($products);
$caseQuery = $caseQuery . ' AND `product` ' . helper::dbIN($products);
$queryProductID = 'all';
}
$caseQuery .= ')';