Always call kolab_storage_folder::count() with an argument, do not depend
on internal implementation when it is known what type is needed
This commit is contained in:
parent
79b6799a58
commit
1d97e50634
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue