BUG 9980 Wrong language on case listings, column Task SOLVED

- Trigger undefined in language established.
- Was add for several languages, but you must first Rebuild cache.
This commit is contained in:
Marco Antonio Nina
2013-01-23 13:02:13 -04:00
parent 305b6a5d9b
commit 0031de9160

View File

@@ -16,14 +16,14 @@ switch ($request) {
$appCacheViewEngine = $oConf->aConfig;
if (isset( $appCacheViewEngine['LANG'] )) {
$lang = $appCacheViewEngine['LANG'];
$lang = (defined('SYS_LANG')) ? SYS_LANG : $appCacheViewEngine['LANG'];
$status = strtoupper( $appCacheViewEngine['STATUS'] );
} else {
$confParams = Array ('LANG' => 'en','STATUS' => ''
$confParams = Array ('LANG' => (defined('SYS_LANG')) ? SYS_LANG : 'en','STATUS' => ''
);
$oConf->aConfig = $confParams;
$oConf->saveConfig( 'APP_CACHE_VIEW_ENGINE', '', '', '' );
$lang = 'en';
$lang = (defined('SYS_LANG')) ? SYS_LANG : 'en';
$status = '';
}
@@ -143,7 +143,7 @@ switch ($request) {
//DEPRECATED $lang = $_POST['lang'];
//there is no more support for other languages that english
$lang = 'en';
$lang = (defined('SYS_LANG')) ? SYS_LANG : 'en';
try {
//setup the appcacheview object, and the path for the sql files