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:
parent
a976842f03
commit
b1ad22dcde
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class kolab_addressbook extends rcube_plugin
|
||||||
|
|
||||||
if (!$source['virtual']) {
|
if (!$source['virtual']) {
|
||||||
$jsdata[$id] = $source;
|
$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)
|
// set class name(s)
|
||||||
|
|
Loading…
Add table
Reference in a new issue