From c36ee4c0414d976557c5e3d344c776ff1f86a0a5 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 5 Feb 2014 09:49:24 +0000 Subject: [PATCH] resolve/work around problem of displaying account info in tree (brackets for emailaddresses) and further use/display in app.js --- mail/inc/class.mail_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 3cda25b32f..95edbeacc9 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -640,7 +640,7 @@ class mail_ui if ($_profileID && $acc_id != $_profileID) continue; $oA = array('id' => $acc_id, - 'text' => $identity_name,// htmlspecialchars($identity_name), + 'text' => str_replace(array('<','>'),array('[',']'),$identity_name),// htmlspecialchars($identity_name), 'tooltip' => '('.$acc_id.') '.htmlspecialchars_decode($identity_name), 'im0' => 'thunderbird.png', 'im1' => 'thunderbird.png',