All is good with the HTML addressbook now.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2359
7612ce4b-ef26-0410-bec9-
ea0150e637f0
/* End search form */
/* Show personal addressbook */
-if ($addrquery == '' || !empty($listall)) {
+
+if ( !empty( $listall ) ){
+ $addrquery = '*';
+}
+
+if ($addrquery == '' && empty($listall)) {
if (! isset($backend) || $backend != -1 || $addrquery == '') {
if ($addrquery == '') {
addr_display_result($res, true);
}
exit;
-
- if ( !empty( $listall ) ){
- $addrquery = '*';
- }
-} else {
+}
+else {
/* Do the search */
if (!empty($addrquery)) {
}
?>
-</body></html>
\ No newline at end of file
+</body></html>