mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix toner dbUpdate call (#5889)
This commit is contained in:
@@ -27,5 +27,5 @@ foreach ($toner_data as $toner) {
|
||||
log_event('Toner ' . $toner['toner_descr'] . ' was replaced (new level: ' . $tonerperc . '%)', $device, 'toner', 3, $toner['toner_id']);
|
||||
}
|
||||
|
||||
dbUpdate(array('toner_current' => $tonerperc, 'toner_capacity' => $toner['toner_capacity']), 'toner', '`toner_id` = ?', 4, array($toner['toner_id']));
|
||||
dbUpdate(array('toner_current' => $tonerperc, 'toner_capacity' => $toner['toner_capacity']), 'toner', '`toner_id` = ?', array($toner['toner_id']));
|
||||
}//end foreach
|
||||
|
||||
Reference in New Issue
Block a user