summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2013-10-15 10:36:10 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2013-10-15 10:38:51 (GMT)
commit1d97e50634dc9f206c49af595587d8f1da01744c (patch)
tree1d3274ef74028e2cf9787f8473f7c6042853c612
parent79b6799a58b6b8945ab1e1de0a0a509910b3ee4d (diff)
downloadroundcubemail-plugins-kolab-1d97e50634dc9f206c49af595587d8f1da01744c.tar.gz
Always call kolab_storage_folder::count() with an argument, do not depend
on internal implementation when it is known what type is needed
-rw-r--r--plugins/kolab_addressbook/lib/rcube_kolab_contacts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
index 13c7740..674f859 100644
--- a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
+++ b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php
@@ -478,7 +478,7 @@ class rcube_kolab_contacts extends rcube_addressbook
$count = count($this->filter['ids']);
}
else {
- $count = $this->storagefolder->count();
+ $count = $this->storagefolder->count('contact');
}
return new rcube_result_set($count, ($this->list_page-1) * $this->page_size);