From b7fd98e338d64027c1df26c88e0fa66e1988dc74 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 08 Sep 2011 10:45:26 -0400
Subject: [PATCH] - Fix compacting folder resets message list filter (#1488076) - Fix reset-search action so it resets list page number to 1

---
 program/include/rcube_imap.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index d14a643..dfbee76 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -426,7 +426,7 @@
     function set_search_set($str=null, $msgs=null, $charset=null, $sort_field=null, $threads=false, $sorted=false)
     {
         if (is_array($str) && $msgs == null)
-            list($str, $msgs, $charset, $sort_field, $threads) = $str;
+            list($str, $msgs, $charset, $sort_field, $threads, $sorted) = $str;
         if ($msgs === false)
             $msgs = array();
         else if ($msgs != null && !is_array($msgs))

--
Gitblit v1.9.1