Browse Source

fixes possible search in address book issues

tokul 20 years ago
parent
commit
abd9b26d6d
2 changed files with 9 additions and 0 deletions
  1. 4 0
      src/addrbook_search.php
  2. 5 0
      src/addrbook_search_html.php

+ 4 - 0
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  = ''; }

+ 5 - 0
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();