From e389c314a5562535ed81d7cb91debdc7e1473bbc Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 15 Oct 2013 12:36:10 +0200 Subject: [PATCH] Always call kolab_storage_folder::count() with an argument, do not depend on internal implementation when it is known what type is needed --- plugins/kolab_addressbook/lib/rcube_kolab_contacts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php b/plugins/kolab_addressbook/lib/rcube_kolab_contacts.php index 13c77401..674f8595 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);