From 9dc04ea3d6d6f6ebc64cac029c1eb5e34647b4a7 Mon Sep 17 00:00:00 2001 From: fidian Date: Sat, 10 Feb 2001 01:44:29 +0000 Subject: [PATCH] * Now it works as it should to a bit more. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1116 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/left_main.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/left_main.php b/src/left_main.php index e4547ca3..86b7385b 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -95,7 +95,7 @@ if (isset($box_array['parent'])) $line .= FoldLink($box_array['unformatted'], $box_array['parent']); else - $line .= '  '; + $line .= '  '; } $line .= ""; @@ -180,14 +180,14 @@ if (in_array('noselect', $boxes[$i]['flags'])) { $line .= ""; - if (ereg("^([\\s]*)([^\\s]*)$", $mailbox, $regs)) + if (ereg("^( *)([^ ]*)$", $mailbox, $regs)) { $line .= str_replace(' ', ' ', $regs[1]); - if ($boxes[$i]['parent']) + if (isset($boxes[$i]['parent'])) $line .= FoldLink($boxes[$i]['unformatted'], $boxes[$i]['parent']); else - $line .= '  '; + $line .= '  '; $line .= str_replace(' ', ' ', $regs[2]); } $line .= ''; -- 2.25.1