summaryrefslogtreecommitdiff
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kolab_client_task.php')
-rw-r--r--lib/kolab_client_task.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index 9ab856d..3dc6770 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -74,7 +74,7 @@ class kolab_client_task
$LANG = array();
@include INSTALL_PATH . '/locale/en_US.php';
- if (isset($language)) {
+ if (!empty($language) && $language != 'en_US') {
@include INSTALL_PATH . "/locale/$language.php";
setlocale(LC_ALL, $language . '.utf8', 'en_US.utf8');
}