mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix array declaration 5.3 compatible
This commit is contained in:
@ -9,7 +9,7 @@ if (!empty($agent_data['app'][$name])) {
|
||||
}
|
||||
#Format Data
|
||||
$lines = explode("\n",$rawdata);
|
||||
$unbound = [];
|
||||
$unbound = array();
|
||||
foreach ($lines as $line) {
|
||||
list($var,$value) = explode('=',$line);
|
||||
$unbound[$var] = $value;
|
||||
|
Reference in New Issue
Block a user