summaryrefslogtreecommitdiff
path: root/program/steps/addressbook
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-10-06 12:31:38 +0000
committerthomascube <thomas@roundcube.net>2011-10-06 12:31:38 +0000
commite2a8b4dd6d6d2160fcb6b03a54da848478eb9c75 (patch)
tree2475d1c7427c08c53a6e32893ac5a2534880ccba /program/steps/addressbook
parent66a7c100847dd3a712f3377d9996cf5e9024b3e3 (diff)
Skip VLV if a group is selected; show advanced search form if activating a 'searchonly' address book
Diffstat (limited to 'program/steps/addressbook')
-rw-r--r--program/steps/addressbook/list.inc4
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