fixed sql error for locale mod

This commit is contained in:
Ulf Gebhardt 2013-09-30 17:06:15 +02:00
parent f68ce6c9e6
commit db20b60183

View File

@ -14,7 +14,7 @@ class saimod_sys_locale extends \SYSTEM\SAI\SaiModule {
if(\SYSTEM\system::isSystemDbInfoPG()){
$res = $con->query('SELECT "category", COUNT(*) as "count" FROM system.locale_string GROUP BY "category" ORDER BY "category" ASC;');
} else {
$res = $con->query('SELECT "category", COUNT(*) as "count" FROM system.locale_string GROUP BY "category" ORDER BY "category" ASC;');
$res = $con->query('SELECT `category`, COUNT(*) as `count` FROM system_locale_string GROUP BY `category` ORDER BY `category` ASC;');
}
$vars['tabopts'] = '';