X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fimap_mailbox.php;h=26055084d0d31985b7384757becb459730340a4f;hb=236494661f8c6c49cc27c34f64dbb94eb3d538da;hp=e7b456e241853a65bb1a06d4fe0a02ebaabf1e49;hpb=6fd953618853477f6ffe569ce3c9733ca9f9c2d0;p=squirrelmail.git diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index e7b456e2..26055084 100755 --- a/functions/imap_mailbox.php +++ b/functions/imap_mailbox.php @@ -1,8 +1,9 @@ mailboxname_full = substr($folder_prefix,0, (strlen($folder_prefix)-1)); } else { $mailboxes->mailboxname_full = $folder_prefix; @@ -881,7 +877,7 @@ function sqimap_fill_mailbox_tree($mbx_ary, $mbxs=false,$imap_stream) { $start = 0; } - $cnt = count($mbx_ary); + $cnt = count($mbx_ary); for ($i=0; $i < $cnt; $i++) { if ($mbx_ary[$i]['mbx'] !='' ) { $mbx = new mailboxes(); @@ -984,7 +980,7 @@ function sqimap_tree_to_ref_array(&$mbx_tree,&$aMbxs) { function sqimap_get_status_mbx_tree($imap_stream,&$mbx_tree) { global $unseen_notify, $unseen_type, $trash_folder,$move_to_trash; - $aMbxs = $aQuery = $aTag = array(); + $aMbxs = $aQuery = array(); sqimap_tree_to_ref_array($mbx_tree,$aMbxs); // remove the root node array_shift($aMbxs);