displayHtmlHeader();
+/** set correct value of $default_charset */
+global $default_charset;
+set_my_charset();
+
/* Initialize vars */
if (!isset($query)) { $query = ''; }
if (!isset($show)) { $show = ''; }
exit;
}
-/* Initialize addressbook */
-$abook = addressbook_init();
+/* Initialize addressbook, show init errors only in bottom frame */
+$showerr=($show=='form' ? false : true);
+$abook = addressbook_init($showerr);
/* Create search form */
if ($show == 'form' && empty($listall)) {