Branch 'roundcubemail-plugins-kolab-3.1' - plugins/kolab_addressbook

Aleksander Machniak machniak at kolabsys.com
Tue Oct 15 12:38:57 CEST 2013


 plugins/kolab_addressbook/lib/rcube_kolab_contacts.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1d97e50634dc9f206c49af595587d8f1da01744c
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Tue Oct 15 12:36:10 2013 +0200

    Always call kolab_storage_folder::count() with an argument, do not depend
    on internal implementation when it is known what type is needed

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);




More information about the commits mailing list