From b127599188fc041e85e2a24055465b1201889a95 Mon Sep 17 00:00:00 2001 From: fidian Date: Fri, 16 Feb 2001 13:29:40 +0000 Subject: [PATCH] * To make sure that $indent is always greater than zero (error removal) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1135 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_mailbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index dc701517..8d6d72c6 100755 --- a/functions/imap_mailbox.php +++ b/functions/imap_mailbox.php @@ -141,7 +141,7 @@ (ereg("^".$folder_prefix, $mailbox)) || ( isset($boxesbyname[$parentfolder]) && (strlen($parentfolder) > 0) ) ) { $indent = $dm_count - (countCharInString($folder_prefix, $dm)); - if ($indent) + if ($indent > 0) $boxes[$g]["formatted"] = str_repeat("  ", $indent); else $boxes[$g]["formatted"] = ''; -- 2.25.1