summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-09-23 10:10:08 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-09-23 10:10:08 +0200
commit6646809a31db94560bd57a47f11a957904bcb34f (patch)
treeff2c1b77d07c85392844aea06ec44236de650775 /program/lib
parent368707964a61541611a28a8e43a37e54b134adc3 (diff)
Fix another regression in metadata response parsing introduced in commit 939380da
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/Roundcube/rcube_imap_generic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_imap_generic.php b/program/lib/Roundcube/rcube_imap_generic.php
index 03e1918e9..9af5ce4c6 100644
--- a/program/lib/Roundcube/rcube_imap_generic.php
+++ b/program/lib/Roundcube/rcube_imap_generic.php
@@ -3219,8 +3219,8 @@ class rcube_imap_generic
}
}
else if (isset($mbox)) {
- if ($data[$i+1] !== null)
- $result[$mbox][$data[$i]] = $data[++$i];
+ if ($data[++$i] !== null)
+ $result[$mbox][$data[$i-1]] = $data[$i];
unset($data[$i]);
unset($data[$i-1]);
}