This commit is contained in:
liumengyi
2024-03-04 15:51:05 +08:00
parent 15d2111412
commit ca7535ccfd
+1 -1
View File
@@ -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