git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10640
7612ce4b-ef26-0410-bec9-
ea0150e637f0
echo html_tag( 'p', '<b><br />' .
_("Your search failed with the following error(s)") .
':<br />' . $abook->error . "</b>\n" ,
echo html_tag( 'p', '<b><br />' .
_("Your search failed with the following error(s)") .
':<br />' . $abook->error . "</b>\n" ,
- 'center' ) .
- "\n</body></html>\n";
- exit;
- }
-
- if (sizeof($res) == 0) {
+ 'center' );
+ } elseif (sizeof($res) == 0) {
echo html_tag( 'p', '<br /><b>' .
_("No persons matching your search were found") . "</b>\n" ,
echo html_tag( 'p', '<br /><b>' .
_("No persons matching your search were found") . "</b>\n" ,
- 'center' ) .
- "\n</body></html>\n";
- exit;
+ 'center' );
+ } else {
+ display_result($res);
-
- display_result($res);
} else {
/**
* listall is not set, query is not set or empty.
} else {
/**
* listall is not set, query is not set or empty.