Removed html formating from address book backend classes. Added
[squirrelmail.git] / src / addrbook_search.php
index 0091b182789a3d116745129b08cb17a786aa3aa8..b64d16d6bb0cc8765aedba7bb284cb479c57566e 100644 (file)
@@ -282,7 +282,7 @@ if ($show == 'form' && ! isset($listall)) {
         if (!is_array($res)) {
             echo html_tag( 'p', '<b><br />' .
                            _("Your search failed with the following error(s)") .
-                           ':<br />' . $abook->error . "</b>\n" ,
+                           ':<br />' . nl2br(htmlspecialchars($abook->error)) . "</b>\n" ,
                            'center' );
         } elseif (sizeof($res) == 0) {
             echo html_tag( 'p', '<br /><b>' .