* finish task #7300.
This commit is contained in:
@@ -220,7 +220,8 @@ class baseHelper
|
||||
return "IN ('" . join("','", $idList) . "')";
|
||||
}
|
||||
|
||||
if((!function_exists('get_magic_quotes_gpc') or !get_magic_quotes_gpc()) and is_string($idList)) $idList = addslashes($idList);
|
||||
if(!is_string($idList)) $idList = json_encode($idList);
|
||||
if(!function_exists('get_magic_quotes_gpc') or !get_magic_quotes_gpc()) $idList = addslashes($idList);
|
||||
return "IN ('" . str_replace(',', "','", str_replace(' ', '', $idList)) . "')";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user