From: Jan Schneider Date: Tue, 26 Jan 2010 22:57:53 +0000 (+0100) Subject: Fix variable name, link encoding, and superfluous tag. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8d97ee0cdccacdd5b097a4b06666af8d49633e01;p=horde.git Fix variable name, link encoding, and superfluous tag. --- diff --git a/imp/lib/Ui/Block.php b/imp/lib/Ui/Block.php index b408d7117..c6bf4c090 100644 --- a/imp/lib/Ui/Block.php +++ b/imp/lib/Ui/Block.php @@ -41,7 +41,7 @@ class IMP_Ui_Block $newmsgs = array(); if ($mode == 'imp') { - $mbox_url = Horde::applicationUrl('mailbox.php', true); + $mbox_url = Horde::applicationUrl('mailbox.php'); } foreach ($poll as $folder) { @@ -67,7 +67,7 @@ class IMP_Ui_Block $anyUnseen = true; } - $html .= (($mode == 'imp') ? Horde::link($url) : '') . IMP::displayFolder($folder) . ''; + $html .= (($mode == 'imp') ? Horde::link($mbox_url) : '') . IMP::displayFolder($folder) . ''; if (!empty($status[$folder]['unseen'])) { $html .= ''; @@ -79,8 +79,6 @@ class IMP_Ui_Block } } - $html .= ''; - if (!empty($newmsgs)) { /* Open the mailbox R/W to ensure the 'recent' flags are cleared * from the current mailbox. */