diff options
Diffstat (limited to 'program/steps/addressbook')
-rw-r--r-- | program/steps/addressbook/list.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/steps/addressbook/list.inc b/program/steps/addressbook/list.inc index 313b52ea1..b4b7306a6 100644 --- a/program/steps/addressbook/list.inc +++ b/program/steps/addressbook/list.inc @@ -74,8 +74,10 @@ else { // get contacts for this user $result = $CONTACTS->list_records(array('name')); - if (!$result->count && $result->searchonly) + if (!$result->count && $result->searchonly) { $OUTPUT->show_message('contactsearchonly', 'notice'); + $OUTPUT->command('command', 'advanced-search'); + } } // update message count display |