X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Faddrbook_search.php;h=8f7f5b622cc18fed00b4e2ca07745319dff5dc5d;hp=2f6dec569e9e5fd91183c9a1845f7e717865f260;hb=353d074afac6827c90f4bb03e846c5e453d3b5b1;hpb=30460a05016c7e066ad7b28df7788539e4054a99;ds=sidebyside diff --git a/src/addrbook_search.php b/src/addrbook_search.php index 2f6dec56..8f7f5b62 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -8,7 +8,7 @@ * addrbook_search_html.html -- If you change one, * change the other one too! * - * @copyright 1999-2009 The SquirrelMail Project Team + * @copyright 1999-2018 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -70,7 +70,7 @@ set_my_charset(); /* Empty search */ if (empty($query) && empty($show) && !isset($listall)) { - $oTemplate->assign('note', htmlspecialchars(_("No persons matching your search were found"))); + $oTemplate->assign('note', sm_encode_html_special_chars(_("No persons matching your search were found"))); $oTemplate->display('note.tpl'); # exit; } @@ -125,7 +125,7 @@ if ($show == 'form' && ! isset($listall)) { } if (!is_array($res)) { - plain_error_message( _("Your search failed with the following error(s)") .':
'. nl2br(htmlspecialchars($abook->error)) ); + plain_error_message( _("Your search failed with the following error(s)") .':
'. nl2br(sm_encode_html_special_chars($abook->error)) ); } elseif (sizeof($res) == 0) { $oTemplate->assign('note', _("No persons matching your search were found")); $oTemplate->display('note.tpl');