diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-10-06 12:31:38 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-10-06 12:31:38 +0000 |
| commit | 18a669f37904eb9fc16de3d33784805a04e00fa5 (patch) | |
| tree | 5ce1f26b755937570e7620794c7df0c1018e52c1 /roundcubemail/program/steps/addressbook | |
| parent | 677a78610fca559c54adf1b258d9844956406ed5 (diff) | |
Skip VLV if a group is selected; show advanced search form if activating a 'searchonly' address book
git-svn-id: https://svn.roundcube.net/trunk@5315 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook')
| -rw-r--r-- | roundcubemail/program/steps/addressbook/list.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/addressbook/list.inc b/roundcubemail/program/steps/addressbook/list.inc index 313b52ea1..b4b7306a6 100644 --- a/roundcubemail/program/steps/addressbook/list.inc +++ b/roundcubemail/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 |
