mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
array_walk does not work like that, apparently input is trimmed later on
This commit is contained in:
@@ -119,7 +119,6 @@ function process_syslog($entry, $update) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$entry['program'] = strtoupper($entry['program']);
|
$entry['program'] = strtoupper($entry['program']);
|
||||||
array_walk($entry, 'trim');
|
|
||||||
|
|
||||||
if ($update) {
|
if ($update) {
|
||||||
dbInsert(
|
dbInsert(
|
||||||
|
|||||||
Reference in New Issue
Block a user