summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-09-08 17:21:08 +0200
committerAleksander Machniak <alec@alec.pl>2014-09-08 17:21:08 +0200
commit1dafdff79a4da2ddc634b43814c746193fa6fbc4 (patch)
tree4d41142d62f9c1d3c2d29b96770c2822d45504b7
parent3b55da7ba60bafaae5b20e0e39a3d6304001d08a (diff)
Fix call to a member function get_compressed() on a non-object
-rw-r--r--program/lib/Roundcube/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php
index 83fdab9e2..dd5fbe498 100644
--- a/program/lib/Roundcube/rcube_imap.php
+++ b/program/lib/Roundcube/rcube_imap.php
@@ -1291,7 +1291,7 @@ class rcube_imap extends rcube_storage
public function index_direct($folder, $sort_field = null, $sort_order = null, $search = null)
{
if (!empty($search)) {
- $search = $this->search_set->get_compressed();
+ $search = $search->get_compressed();
}
// use message index sort as default sorting