mirror of
https://github.com/e107inc/e107.git
synced 2025-08-14 18:44:27 +02:00
Replace usage of deprecated updateArray() method.
This commit is contained in:
@@ -223,8 +223,10 @@ if (isset($_POST['updatelimits']))
|
||||
{
|
||||
$vals[$targetFields[$k+1]] = intval($_POST[$lName][$idLim]);
|
||||
}
|
||||
$vals['WHERE'] = "gen_id = ".$idLim;
|
||||
|
||||
$sql->update('generic',$vals);
|
||||
$valString = implode(',',$vals);
|
||||
$sql->db_UpdateArray('generic',$vals," WHERE gen_id = {$idLim}");
|
||||
e107::getLog()->add('DOWNL_10',$idLim.', '.$valString,E_LOG_INFORMATIVE,'');
|
||||
$message .= $idLim." - ".DOWLAN_121."<br/>";
|
||||
unset($vals);
|
||||
|
Reference in New Issue
Block a user