* fix bug#483.
This commit is contained in:
@@ -1312,7 +1312,7 @@ class bugModel extends model
|
||||
{
|
||||
$products = array_keys($this->loadModel('product')->getPrivProducts());
|
||||
$bugQuery = str_replace($allProduct, '1', $this->session->bugQuery);
|
||||
$bugQuery = $bugQuery . ' AND `product`' . helper::dbIN(array_keys($products));
|
||||
$bugQuery = $bugQuery . ' AND `product`' . helper::dbIN($products);
|
||||
}
|
||||
$bugQuery = $this->loadModel('search')->replaceDynamic($bugQuery);
|
||||
$bugs = $this->dao->select('*')->from(TABLE_BUG)->where($bugQuery)
|
||||
|
||||
Reference in New Issue
Block a user