summaryrefslogtreecommitdiff
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-02-16 10:34:14 (GMT)
committerAleksander Machniak <alec@alec.pl>2012-02-16 10:34:14 (GMT)
commit224f0fa412408c2d1e1e59c20fbbf575d1ef6b31 (patch)
tree9c81a96c18cf8b61e9793122a822de617cf42541 /lib/kolab_client_task.php
parent6664b058c428e86511c5330f735df3d7752b6fe8 (diff)
downloadkolab-wap-224f0fa412408c2d1e1e59c20fbbf575d1ef6b31.tar.gz
API localization
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');
}