diff --git a/phpgwapi/js/jsapi/egw_lang.js b/phpgwapi/js/jsapi/egw_lang.js index e9e085a8af..05ceffb6bb 100644 --- a/phpgwapi/js/jsapi/egw_lang.js +++ b/phpgwapi/js/jsapi/egw_lang.js @@ -146,7 +146,7 @@ egw.extend('lang', egw.MODULE_GLOBAL, function() { } apps.push(_apps[i].app); } - if (this !== egw) + if (this !== egw && apps.length > 0) { this.lang_order = apps.reverse(); }