1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Deprecated function cleanup

This commit is contained in:
Cameron
2016-02-15 00:14:45 -08:00
parent a673206da5
commit a469b7ca6e
18 changed files with 43 additions and 42 deletions

View File

@@ -1582,7 +1582,7 @@ function process_csv($filename, $override_imports, $override_expiry, $separator
}
$qry = "REPLACE INTO `#banlist` (".implode(',', array_keys($field_list)).") values ('".implode("', '", $field_list)."')";
// echo count($field_list)." elements, query: ".$qry."<br />";
if (!$sql->db_Select_gen($qry))
if (!$sql->gen($qry))
{
$mes->addError(BANLAN_50.$line_num);
return BANLAN_50.$line_num;