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.
This commit is contained in:
Aleksander Machniak 2014-11-17 08:54:16 -05:00
parent a976842f03
commit b1ad22dcde

View file

@ -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)