From e2a8b4dd6d6d2160fcb6b03a54da848478eb9c75 Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 6 Oct 2011 12:31:38 +0000 Subject: Skip VLV if a group is selected; show advanced search form if activating a 'searchonly' address book --- program/steps/addressbook/list.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'program/steps/addressbook/list.inc') 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 -- cgit v1.2.3