Some Bugfixes, and variable checks
This commit is contained in:
parent
a742199035
commit
720c8324c7
9 changed files with 44 additions and 43 deletions
|
@ -49,6 +49,7 @@ function get_language() {
|
|||
if(isset($preferred))
|
||||
return $preferred;
|
||||
|
||||
$a = get_app();
|
||||
return ((isset($a->config['system']['language'])) ? $a->config['system']['language'] : 'en');
|
||||
}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue