summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-12-16 10:15:02 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-12-16 10:15:56 (GMT)
commit9870a79685175d2eb5ddb15e7ea67991cb60b0de (patch)
treef60a5a6c736302dfeb70114a7d0b6cdadf099913
parentf4f6374404541248172bc16603d9bdb087366bf1 (diff)
downloadkolab-wap-9870a79685175d2eb5ddb15e7ea67991cb60b0de.tar.gz
Fix incorrect setting of locale (Bug #2680)
-rw-r--r--lib/kolab_recipient_policy.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kolab_recipient_policy.php b/lib/kolab_recipient_policy.php
index e8923ec..b3cc995 100644
--- a/lib/kolab_recipient_policy.php
+++ b/lib/kolab_recipient_policy.php
@@ -50,7 +50,7 @@ class kolab_recipient_policy {
}
if (!empty($locale)) {
- setlocale(LC_ALL, $locale.'utf8', $locale.'UTF-8', $locale);
+ setlocale(LC_ALL, $locale.'.utf8', $locale.'.UTF-8', $locale);
}
if (!is_array($groupdata[$key])) {
@@ -97,7 +97,7 @@ class kolab_recipient_policy {
}
if (!empty($locale)) {
- setlocale(LC_ALL, $locale.'utf8', $locale.'UTF-8', $locale);
+ setlocale(LC_ALL, $locale.'.utf8', $locale.'.UTF-8', $locale);
}
if (!is_array($userdata[$_key])) {