mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix return in dbBulkInsert.
This commit is contained in:
@@ -158,7 +158,7 @@ function dbBulkInsert($data, $table) {
|
|||||||
$db_stats['insert_sec'] += number_format(($time_end - $time_start), 8);
|
$db_stats['insert_sec'] += number_format(($time_end - $time_start), 8);
|
||||||
$db_stats['insert']++;
|
$db_stats['insert']++;
|
||||||
|
|
||||||
return $id;
|
return $result;
|
||||||
|
|
||||||
}//end dbBulkInsert()
|
}//end dbBulkInsert()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user