diff options
Diffstat (limited to 'plugins/example_addressbook')
| -rw-r--r-- | plugins/example_addressbook/example_addressbook.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/example_addressbook/example_addressbook.php b/plugins/example_addressbook/example_addressbook.php index 58f187c0c..108c0aebb 100644 --- a/plugins/example_addressbook/example_addressbook.php +++ b/plugins/example_addressbook/example_addressbook.php @@ -16,7 +16,7 @@ class example_addressbook extends rcube_plugin // use this address book for autocompletion queries // (maybe this should be configurable by the user?) $config = rcmail::get_instance()->config; - $sources = $config->get('autocomplete_addressbooks', array('sql')); + $sources = (array) $config->get('autocomplete_addressbooks', array('sql')); if (!in_array($this->abook_id, $sources)) { $sources[] = $this->abook_id; $config->set('autocomplete_addressbooks', $sources); |
