Skip to content
Snippets Groups Projects
Commit 5f2751c6 authored by Thomas Müller's avatar Thomas Müller
Browse files

in some cases no translations are loaded because $this->lang is empty not null

parent 3c784ede
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ class OC_L10N{
$lang = $this->lang;
$this->app = true;
// Find the right language
if(is_null($lang)){
if(is_null($lang) || $lang == '') {
$lang = self::findLanguage($app);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment