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