diff options
Diffstat (limited to 'modules-available/locationinfo/inc')
-rw-r--r-- | modules-available/locationinfo/inc/locationinfo.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/inc/locationinfo.inc.php b/modules-available/locationinfo/inc/locationinfo.inc.php index 38e271fe..c51be666 100644 --- a/modules-available/locationinfo/inc/locationinfo.inc.php +++ b/modules-available/locationinfo/inc/locationinfo.inc.php @@ -75,7 +75,7 @@ class LocationInfo { if ($type === 'DEFAULT') { return array( - 'language' => 'en', + 'language' => defined('LANG') ? LANG : 'en', 'mode' => 1, 'vertical' => false, 'eco' => false, @@ -92,7 +92,7 @@ class LocationInfo } if ($type === 'SUMMARY') { return array( - 'language' => 'en', + 'language' => defined('LANG') ? LANG : 'en', 'calupdate' => 30, 'roomupdate' => 15, 'configupdate' => 180, |