The "Delete" link when reading a message that was on the second or
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 20 Nov 2000 13:34:10 +0000 (13:34 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 20 Nov 2000 13:34:10 +0000 (13:34 +0000)
subsequent pages of your mail folder will now return you to the proper page
instead of sending you back to page 1 all the time.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@853 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/read_body.php

index a2585bd31b074f76cdf8f3162260705845632b39..d49ec3d1780c7dc6c1d038bd4e37c8a02d5a83b6 100644 (file)
    if ($where && $what) {
       echo "               <A HREF=\"delete_message.php?mailbox=$urlMailbox&message=$passed_id&where=".urlencode($where)."&what=".urlencode($what)."\">";
    } else {
-      echo "               <A HREF=\"delete_message.php?mailbox=$urlMailbox&message=$passed_id&sort=$sort&startMessage=1\">";
+      echo "               <A HREF=\"delete_message.php?mailbox=$urlMailbox&message=$passed_id&sort=$sort&startMessage=$startMessage\">";
    }
    echo _("Delete");
    echo "</A>&nbsp;&nbsp;";