From dcd3d3826e37486ae862a82dc12ad0d8ff28bd74 Mon Sep 17 00:00:00 2001 From: fidian Date: Sun, 25 Feb 2001 05:47:25 +0000 Subject: [PATCH] * :-) The first letter of matching folders had their head removed! (one char too many trimmed) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1159 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 22d4b916..9ada3fa7 100755 --- a/functions/imap_mailbox.php +++ b/functions/imap_mailbox.php @@ -156,7 +156,7 @@ $boxes[$g]['unformatted'] = $mailbox; //$boxes[$g]['unformatted-disp'] = ereg_replace('^' . $folder_prefix, '', $mailbox); if (substr($mailbox,0,strlen($folder_prefix))==$folder_prefix) { - $boxes[$g]['unformatted-disp'] = substr($mailbox, strlen($folder_prefix)+1); + $boxes[$g]['unformatted-disp'] = substr($mailbox, strlen($folder_prefix)); } $boxes[$g]['id'] = $g; -- 2.25.1