git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2237
7612ce4b-ef26-0410-bec9-
ea0150e637f0
} else {
/* Show personal addressbook */
- if ($show == 'blank' || !empty($listall)) {
+ if ($show == 'blank' && empty($listall)) {
if($backend != -1 || $show == 'blank') {
if ($show == 'blank') {
}
} else {
+ if( !empty( $listall ) ){
+ $query = '*';
+ }
/* Do the search */
- if (!empty($query) && empty($listall)) {
+ if (!empty($query)) {
if($backend == -1) {
$res = $abook->s_search($query);
}
exit;
+ if ( !empty( $listall ) ){
+ $addrquery = '*';
+ }
} else {
/* Do the search */
- if (!empty($addrquery) && empty($listall)) {
+ if (!empty($addrquery)) {
if ($backend == -1) {
$res = $abook->s_search($addrquery);