plugins/kolab_addressbook
Thomas Brüderli
bruederli at kolabsys.com
Thu Jun 5 10:11:56 CEST 2014
plugins/kolab_addressbook/lib/rcube_kolab_contacts.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a1b146a8dd54d0141a8b62f726da1d29037b484f
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date: Thu Jun 5 09:42:22 2014 +0200
Avoid warnings if dataset is not set
diff --git a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
index c72c072..ffce9b5 100644
--- a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
+++ b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
@@ -337,7 +337,7 @@ class rcube_kolab_contacts extends rcube_addressbook
}
}
}
- else {
+ else if (isset($this->dataset)) {
$this->result->count = isset($query) ? $this->storagefolder->count($query) : 0;
foreach ($this->dataset as $idx => $record) {
$this->result->add($this->_to_rcube_contact($record));
More information about the commits
mailing list