diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-04-07 16:24:37 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-04-07 16:24:37 +0200 |
commit | e8cb51669a325a3d5b60fcc37b99d494809bf837 (patch) | |
tree | be0a7cb9f9de8c158d1a53502598055e9202b5cd /program/lib/Roundcube/rcube_message.php | |
parent | e7a3ae9a765cef4b2a851ed49a718629e6e8d186 (diff) |
More fixes for multi-folder search (#1485234)
Diffstat (limited to 'program/lib/Roundcube/rcube_message.php')
-rw-r--r-- | program/lib/Roundcube/rcube_message.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php index f24ec3ed8..ad94005ac 100644 --- a/program/lib/Roundcube/rcube_message.php +++ b/program/lib/Roundcube/rcube_message.php @@ -74,6 +74,11 @@ class rcube_message */ function __construct($uid, $folder = null) { + // decode combined UID-folder identifier + if (preg_match('/^\d+-[^,]+$/', $uid)) { + list($uid, $folder) = explode('-', $uid); + } + $this->uid = $uid; $this->app = rcube::get_instance(); $this->storage = $this->app->get_storage(); |