X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=functions%2Fmailbox_display.php;h=0350414450e97b6a6562badce8e196a9acbab1c3;hb=a3dd7047e2c00552c2b21af2bbbe8f183e0a7781;hp=2fc02b834ba8b452516b07aa4df5ad0878f019a9;hpb=602b2bdf52fee8f2fb0e3fc672336cdc782ced6f;p=squirrelmail.git
diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php
index 2fc02b83..03504144 100644
--- a/functions/mailbox_display.php
+++ b/functions/mailbox_display.php
@@ -721,7 +721,12 @@ function mail_message_listing_beginning ($imapConnection,
echo getButton('SUBMIT', 'markRead',_("Read"));
echo getButton('SUBMIT', 'markUnread',_("Unread"));
echo getButton('SUBMIT', 'delete',_("Delete")) ." \n";
- echo '';
+ if (!strpos($PHP_SELF,'mailbox')) {
+ $location = $PHP_SELF.'?mailbox=INBOX&startMessage=1';
+ } else {
+ $location = $PHP_SELF;
+ }
+ echo '';
echo "\n"
. " \n";