X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=src%2Faddrbook_search.php;h=a1c0b7be3b7df331a15a80e058e9d4d3539e9503;hp=e7947ab79b8ec448e24a9fdceaf87a20d323e419;hb=6dda64534206bf0aa35c57e826605573809176e7;hpb=800fe5a43aaaddd39317283a4c025552736fc28a diff --git a/src/addrbook_search.php b/src/addrbook_search.php index e7947ab7..a1c0b7be 100644 --- a/src/addrbook_search.php +++ b/src/addrbook_search.php @@ -205,8 +205,9 @@ if (empty($query) && empty($show) && empty($listall)) { 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)) {