summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcmail.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index 81fe7d797..2ccad03c6 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -2045,7 +2045,10 @@ class rcmail extends rcube
list($uid, $mbox) = explode('-', $uid, 2);
if (empty($mbox))
$mbox = $_mbox;
- $result[$mbox][] = $uid;
+ if ($uid == '*')
+ $result[$mbox] = $uid;
+ else
+ $result[$mbox][] = $uid;
}
}