Fix a old fix that was breaking the search when coming back from move_messages
authoralex-brainstorm <alex-brainstorm@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 3 Dec 2003 13:59:48 +0000 (13:59 +0000)
committeralex-brainstorm <alex-brainstorm@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 3 Dec 2003 13:59:48 +0000 (13:59 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6235 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php

index aa15493bf412d7f4d48290510e4570cd0b9b7ce8..e3539e0be1c0e09d0bd4fe45607c21e43d15aff8 100644 (file)
@@ -767,7 +767,7 @@ function mail_message_listing_beginning ($imapConnection,
     echo getButton('SUBMIT', 'markRead',_("Read"));
     echo getButton('SUBMIT', 'markUnread',_("Unread"));
     echo getButton('SUBMIT', 'delete',_("Delete")) ."&nbsp;\n";
-    if (!strpos($php_self,'mailbox')) {
+    if (!strpos($php_self,'?')) {
         $location = $php_self.'?mailbox=INBOX&amp;startMessage=1';
     } else {
         $location = $php_self;