From 76682066e984e5cbf9b4ae6483d195b2cf62d5c0 Mon Sep 17 00:00:00 2001 From: indiri69 Date: Wed, 8 Feb 2006 20:04:34 +0000 Subject: [PATCH] Fix unknown variable message when the user has never logged in before (tested with dovecot). git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10669 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_mailbox.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index a73108f0..5f81aebe 100755 --- a/functions/imap_mailbox.php +++ b/functions/imap_mailbox.php @@ -818,6 +818,7 @@ function sqimap_get_mailboxes($imap_stream,$force=false,$show_only_subscribed=tr sqgetGlobalVar($sub_cache_name,$lsub_cache,SQ_SESSION); } + $lsub_assoc_ary=array(); if (!empty($lsub_cache)) { $lsub_assoc_ary=$lsub_cache; } else { @@ -1303,4 +1304,4 @@ function sqimap_mailbox_is_noinferiors($oImapStream,$sImapFolder,&$oBoxes) { return false; } -?> \ No newline at end of file +?> -- 2.25.1