Skip to content

Commit

Permalink
* fix bug#483.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamazhi committed Aug 21, 2013
1 parent ca93b74 commit faec7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/bug/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,7 @@ public function getBySearch($productID, $projects, $queryID, $orderBy, $pager)
{
$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)
Expand Down

0 comments on commit faec7a8

Please sign in to comment.