summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_message.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-04-08 11:32:51 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-04-08 11:32:51 +0200
commit1d1fdcbf8cd7cce93454eb0b64eaf76975ebdd17 (patch)
treeb17bd2d36091465655aea476515f6f12eaf172d5 /program/lib/Roundcube/rcube_message.php
parent188304872066eef4b20c305f9cd6ea939dd419e0 (diff)
Fix splitting message identifiers into UID and folder values
Diffstat (limited to 'program/lib/Roundcube/rcube_message.php')
-rw-r--r--program/lib/Roundcube/rcube_message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php
index ad94005ac..edfd339d8 100644
--- a/program/lib/Roundcube/rcube_message.php
+++ b/program/lib/Roundcube/rcube_message.php
@@ -76,7 +76,7 @@ class rcube_message
{
// decode combined UID-folder identifier
if (preg_match('/^\d+-[^,]+$/', $uid)) {
- list($uid, $folder) = explode('-', $uid);
+ list($uid, $folder) = explode('-', $uid, 2);
}
$this->uid = $uid;