From 460f597c60e44d1ba1c1941e9aebdca01d93fd67 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 11 May 2022 10:46:40 +0800 Subject: [PATCH] * Fix bug for #task 53647. --- module/bug/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)