From: jangliss Date: Sun, 15 Jun 2003 05:11:12 +0000 (+0000) Subject: Need this check, otherwise some weird stuff occurs with exchange, and only X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=39027844f7555a305a84027d3ee00458093c3b63;p=squirrelmail.git Need this check, otherwise some weird stuff occurs with exchange, and only the last root folder is displayed (in my case it was "Tasks"). git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5045 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/left_main.php b/src/left_main.php index aaa90f1c..51632dd1 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -397,10 +397,12 @@ function listBoxes ($boxes, $j=0 ) { $fontend = ""; } $end .= ''; - - echo "" . $pre .$font. $boxes->mailboxname_sub .$fontend . $end. '
' . "\n"; - $j++; - + + if (!$boxes->is_root) { + echo "" . $pre .$font. $boxes->mailboxname_sub .$fontend . $end. '
' . "\n"; + $j++; + } + if (!$collapse || $boxes->is_root) { for ($i = 0; $i mbxs); $i++) { listBoxes($boxes->mbxs[$i],$j);