X-Git-Url: https://git.donarmstrong.com/?p=roundcube.git;a=blobdiff_plain;f=program%2Fsteps%2Faddressbook%2Flist.inc;h=6b00a824f1efcf688cbfaacd3a025b02d79c9182;hp=ab82faf66e24702938f47860c3007b72841b4793;hb=76507f7c63a660742e76889ad6e3919f3dde3bb0;hpb=a2dd2e41259a5e90016efcd7d083020b95e25527 diff --git a/program/steps/addressbook/list.inc b/program/steps/addressbook/list.inc index ab82faf..6b00a82 100644 --- a/program/steps/addressbook/list.inc +++ b/program/steps/addressbook/list.inc @@ -15,7 +15,7 @@ | Author: Thomas Bruederli | +-----------------------------------------------------------------------+ - $Id: list.inc 4850 2011-06-14 13:45:26Z alec $ + $Id: list.inc 5315 2011-10-06 12:31:38Z thomasb $ */ @@ -73,6 +73,11 @@ else { // get contacts for this user $result = $CONTACTS->list_records(array('name')); + + if (!$result->count && $result->searchonly) { + $OUTPUT->show_message('contactsearchonly', 'notice'); + $OUTPUT->command('command', 'advanced-search'); + } } // update message count display