used to select the new last message. In 1.5.0, it selected the mailbox. I
have reverted the behaviour
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6954
7612ce4b-ef26-0410-bec9-
ea0150e637f0
// Set subsequent location based on whether or not there is a 'next' message.
if ( isset($next) && $next >= 0 ) {
- $location = $base_uri . 'src/read_body.php?passed_id='.$next.'&';
+ $location = $base_uri . 'src/read_body.php?passed_id='.$next.'&';
+ } elseif (isset($prev) && $prev >= 0) {
+ $location = $base_uri . 'src/read_body.php?passed_id='.$prev.'&';
} else {
- $location = $base_uri . 'src/right_main.php?';
+ $location = $base_uri . 'src/right_main.php?';
}
$menu_row .= '<form action="'.$base_uri.'src/move_messages.php?'.$current_box.'" method="post">'.