summaryrefslogtreecommitdiff
path: root/plugins/kolab_addressbook
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-11-17 13:54:16 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-11-17 13:54:16 (GMT)
commitb1ad22dcde3613cf1aca8b04502aa7bbc76a9437 (patch)
treedea620de4a1c23e71e2d80a3c8ba1876a849cf71 /plugins/kolab_addressbook
parenta976842f0389e8a724eb09005b6edd10400c661d (diff)
downloadroundcubemail-plugins-kolab-b1ad22dcde3613cf1aca8b04502aa7bbc76a9437.tar.gz
Fix HTML entities handling in addressbook names in contextmenu's addressbook selector (#3883)
Need to specify encoding in html_entities_decode() on PHP < 5.4.
Diffstat (limited to 'plugins/kolab_addressbook')
-rw-r--r--plugins/kolab_addressbook/kolab_addressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kolab_addressbook/kolab_addressbook.php b/plugins/kolab_addressbook/kolab_addressbook.php
index d68c130..9511e26 100644
--- a/plugins/kolab_addressbook/kolab_addressbook.php
+++ b/plugins/kolab_addressbook/kolab_addressbook.php
@@ -244,7 +244,7 @@ class kolab_addressbook extends rcube_plugin
if (!$source['virtual']) {
$jsdata[$id] = $source;
- $jsdata[$id]['name'] = html_entity_decode($source['name'], ENT_NOQUOTES);
+ $jsdata[$id]['name'] = html_entity_decode($source['name'], ENT_NOQUOTES, RCUBE_CHARSET);
}
// set class name(s)