summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-07-30 10:49:18 -0400
committerAleksander Machniak <alec@alec.pl>2014-07-30 10:49:18 -0400
commit5b592d17ef078ebb101b47402dc6c3381249ba78 (patch)
treef66815a983803c9215183236e6eaecbeacb124d7
parent9453257baf8934cd7667c30d92450689c9a0ded8 (diff)
Remove redundant folder check when using search set
-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 9a07711c2..79a8973db 100644
--- a/program/lib/Roundcube/rcube_imap.php
+++ b/program/lib/Roundcube/rcube_imap.php
@@ -761,7 +761,7 @@ class rcube_imap extends rcube_storage
$page = $page ? $page : $this->list_page;
// use saved message set
- if ($this->search_string && $folder == $this->folder) {
+ if ($this->search_string) {
return $this->list_search_messages($folder, $page, $slice);
}