Skip to content

Commit

Permalink
fix: Fixed passing of data to load_all_os() function (#5235)
Browse files Browse the repository at this point in the history
  • Loading branch information
laf committed Dec 24, 2016
1 parent 6efdecf commit c06ccee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/init.php
Expand Up @@ -139,7 +139,7 @@
$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);
}
Expand Down

0 comments on commit c06ccee

Please sign in to comment.