fixes possible search in address book issues
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Feb 2005 17:49:59 +0000 (17:49 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 23 Feb 2005 17:49:59 +0000 (17:49 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8891 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/addrbook_search.php
src/addrbook_search_html.php

index 4a5af188c60e7aec466273dbdb601b66a857ef7b..e7947ab79b8ec448e24a9fdceaf87a20d323e419 100644 (file)
@@ -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  = ''; }
index e8faf646111a4b7d1016bab100f9c220156f3314..5a6a98340dbbdd56f59bfe8ba836d1f97781ff64 100644 (file)
@@ -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();