From bcecc2f3a41fd67f9ba6c49c0a8f9a395a446a20 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 28 Mar 2008 09:21:28 +0000 Subject: [PATCH] autocompletion and mouse patch #1177 by JF B --- felamimail/inc/class.ajax_contacts.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/felamimail/inc/class.ajax_contacts.inc.php b/felamimail/inc/class.ajax_contacts.inc.php index 223d0d4b8e..f7f212a41f 100644 --- a/felamimail/inc/class.ajax_contacts.inc.php +++ b/felamimail/inc/class.ajax_contacts.inc.php @@ -76,7 +76,7 @@ if(!empty($email) && !isset($jsArray[$email])) { $i++; $str = $GLOBALS['egw']->translation->convert(trim($contact['n_fn'] ? $contact['n_fn'] : $contact['fn']) .' <'. trim($email) .'>', $this->charset, 'utf-8'); - $innerHTML .= '
'. + $innerHTML .= '
'. htmlentities($str, ENT_QUOTES, 'utf-8') .'
'; $jsArray[$email] = addslashes(trim($contact['n_fn'] ? $contact['n_fn'] : $contact['fn']) .' <'. trim($email) .'>'); }