Fix call to a member function get_compressed() on a non-object

pull/252/head
Aleksander Machniak 10 years ago
parent 3b55da7ba6
commit 1dafdff79a

@ -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

Loading…
Cancel
Save