diff --git a/module/bug/model.php b/module/bug/model.php index 0837b78f38..2f445064f5 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -2747,8 +2747,8 @@ class bugModel extends model $bugQuery = preg_replace("/`story`[ ]+(NOT[ ]*)?LIKE[ ]+'%$searchValue%'/Ui", '`story` $1 IN (' . implode($story, ',') .')', $bugQuery); } - $bugQuery .= ' AND `story` != 0'; } + $bugQuery .= ' AND `story` != 0'; } $bugs = $this->dao->select('*')->from(TABLE_BUG)->where($bugQuery)