From 4afa7206a144844010fde445235b2ee752de8692 Mon Sep 17 00:00:00 2001 From: fidian Date: Tue, 6 Feb 2001 20:26:33 +0000 Subject: [PATCH] * Hopefully squashed all those annoying "flags" workarounds * Should kill the error I was just reported with search.php git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1063 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_mailbox.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index 0ac9ca99..d36c6623 100755 --- 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++; } -- 2.25.1