diff --git a/system/locale.php b/system/locale.php index c309f0d..3880ffd 100644 --- a/system/locale.php +++ b/system/locale.php @@ -10,7 +10,7 @@ class locale { \SYSTEM\SECURITY\Security::save(self::SESSION_KEY, $lang); if(\SYSTEM\SECURITY\Security::isLoggedIn()){ - \SYSTEM\SECURITY\Security::_db_setLocale(\SYSTEM\system::getSystemDBInfo(), $lang);} //TODO: connection def move somewhere? + \SYSTEM\SECURITY\Security::_db_setLocale($lang);} return true; }