changed query before building modules.conf

This commit is contained in:
Nuno Miguel Reis
2013-09-20 21:43:24 +00:00
parent f685740ad6
commit 1c61786ba9

View File

@@ -1822,7 +1822,7 @@ function save_module_xml() {
$xml .= "<configuration name=\"modules.conf\" description=\"Modules\">\n";
$xml .= " <modules>\n";
$sql = "select * from v_modules ";
$sql = "select * from v_modules order by module_category = 'Languages' OR module_category = 'Loggers' DESC, module_category ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$prev_module_cat = '';