mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Fixed passing of data to load_all_os() function (#5235)
This commit is contained in:
@ -139,7 +139,7 @@ if (module_selected('web', $init_modules)) {
|
||||
$tmp_list = dbFetchRows('SELECT DISTINCT(`os`) FROM `devices`');
|
||||
$os_list = array();
|
||||
foreach ($tmp_list as $k => $v) {
|
||||
$os_list[] = $v['os'];
|
||||
$os_list[] = $config['install_dir'].'/includes/definitions/'. $v['os'] . '.yaml';
|
||||
}
|
||||
load_all_os($os_list);
|
||||
}
|
||||
|
Reference in New Issue
Block a user