fix: Fixed passing of data to load_all_os() function (#5235)

This commit is contained in:
Neil Lathwood
2016-12-24 18:53:50 +00:00
committed by GitHub
parent 6efdecfd95
commit c06cceeeb5

View File

@ -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);
}