projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Hopefully squashed all those annoying "flags" workarounds
[squirrelmail.git]
/
functions
/
imap_mailbox.php
diff --git
a/functions/imap_mailbox.php
b/functions/imap_mailbox.php
index 0ac9ca999ee9ee6231599cdf00084c774d2be815..d36c66232ee2aa5af7e3c72cbc8a2a7cd1c48667 100755
(executable)
--- a/
functions/imap_mailbox.php
+++ b/
functions/imap_mailbox.php
@@
-374,8
+374,12
@@
$flags = str_replace('\\', '', $flags);
$flags = trim(strtolower($flags));
if ($flags) {
- $boxes[$g][
"flags"
] = explode(" ", $flags);
+ $boxes[$g][
'flags'
] = explode(" ", $flags);
}
+ else
+ {
+ $boxes[$g]['flags'] = array();
+ }
}
$g++;
}