diff options
Diffstat (limited to 'program/lib/Roundcube/rcube_result_multifolder.php')
-rw-r--r-- | program/lib/Roundcube/rcube_result_multifolder.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_result_multifolder.php b/program/lib/Roundcube/rcube_result_multifolder.php index 188fb26f2..ac0889526 100644 --- a/program/lib/Roundcube/rcube_result_multifolder.php +++ b/program/lib/Roundcube/rcube_result_multifolder.php @@ -32,6 +32,7 @@ class rcube_result_multifolder protected $meta = array(); protected $index = array(); + protected $folders = array(); protected $sorting; protected $order = 'ASC'; @@ -39,8 +40,9 @@ class rcube_result_multifolder /** * Object constructor. */ - public function __construct() + public function __construct($folders = array()) { + $this->folders = $folders; $this->meta = array('count' => 0); } @@ -228,6 +230,7 @@ class rcube_result_multifolder $params = array( 'SORT' => $this->sorting, 'ORDER' => $this->order, + 'MAILBOX' => $this->folders, ); if ($param !== null) { |