* Format zentao.sql.

This commit is contained in:
朱金勇
2023-04-20 02:17:53 +00:00
parent f10b648f46
commit 93aa3e307b
4 changed files with 26 additions and 18 deletions
+1
View File
@@ -251,6 +251,7 @@ class baseHelper
{
if(is_array($idList))
{
if(empty($idList)) return "IN (0)";
foreach($idList as $key=>$value) $idList[$key] = addslashes($value);
return "IN ('" . join("','", $idList) . "')";
}