From ca7535ccfd68d52608aefb4020f1bbd1fc5d5c75 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Mon, 4 Mar 2024 15:51:05 +0800 Subject: [PATCH] * Fix bug #46508. --- module/search/tao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/search/tao.php b/module/search/tao.php index 98ba20421e..1dd893ea17 100644 --- a/module/search/tao.php +++ b/module/search/tao.php @@ -189,7 +189,7 @@ class searchTao extends searchModel } elseif($field == 'scene') { - $allScenes = $value === '0' ? array() : ($value === '' ? array(0) : $this->loadModel('testcase')->getAllChildId($value)); + $allScenes = $value === '0' ? array() : ($value === '' ? array(0) : $this->loadModel('testcase')->getAllChildId((int)$value)); if(count($allScenes)) $condition = helper::dbIN($allScenes); } else