From: ebullient Date: Tue, 28 Jan 2003 16:41:41 +0000 (+0000) Subject: Remove that "Not Available" message in the folder count, since it seems X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=ae37633cebd7121b4141213a7e98462a83c29fc1 Remove that "Not Available" message in the folder count, since it seems not to be liked. Tracker: 664548, 674123 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4478 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/left_main.php b/src/left_main.php index b6b2c12b..af7b5a4f 100644 --- a/src/left_main.php +++ b/src/left_main.php @@ -44,18 +44,15 @@ function formatMailboxName($imapConnection, $box_array) { $mailbox = $regs[2]; } $unseen = 0; - $status = array(); + $status = array('',''); if (($unseen_notify == 2 && $real_box == 'INBOX') || $unseen_notify == 3) { - $status = create_unseen_string($real_box, $box_array, $imapConnection, $unseen_type ); + $tmp_status = create_unseen_string($real_box, $box_array, $imapConnection, $unseen_type ); if ($status !== false) { - list($unseen_string, $unseen) = $status; - } else { - list($unseen_string, $unseen) = array(_("Not available"),''); - } - } else { - list($unseen_string, $unseen) = array('',''); + $status = $tmp_status; + } } + list($unseen_string, $unseen) = $status; $special_color = ($use_special_folder_color && isSpecialMailbox($real_box)); /* Start off with a blank line. */