From: tokul Date: Wed, 23 Feb 2005 17:49:59 +0000 (+0000) Subject: fixes possible search in address book issues X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=40262494b48aac8dc35ead8419065a145d2d2891;p=squirrelmail.git fixes possible search in address book issues git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8891 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/addrbook_search.php b/src/addrbook_search.php index 4a5af188..e7947ab7 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -175,6 +175,10 @@ require_once('../functions/addressbook.php'); displayHtmlHeader(); +/** set correct value of $default_charset */ +global $default_charset; +set_my_charset(); + /* Initialize vars */ if (!isset($query)) { $query = ''; } if (!isset($show)) { $show = ''; } diff --git a/src/addrbook_search_html.php b/src/addrbook_search_html.php index e8faf646..5a6a9834 100644 --- a/src/addrbook_search_html.php +++ b/src/addrbook_search_html.php @@ -173,6 +173,11 @@ if ($compose_new_win == '1') { else { displayPageHeader($color, $mailbox); } + +/** set correct value of $default_charset */ +global $default_charset; +set_my_charset(); + /* Initialize addressbook */ $abook = addressbook_init();