forked from I2P_Developers/i2p.i2p
- fixed wrong mail selection
This commit is contained in:
@@ -851,14 +851,16 @@ public class WebMail extends HttpServlet
|
|||||||
/*
|
/*
|
||||||
* folder view
|
* folder view
|
||||||
*/
|
*/
|
||||||
if( sessionObject.state == STATE_LIST ) {
|
if( sessionObject.state == STATE_LIST || sessionObject.state == STATE_SHOW) {
|
||||||
/*
|
/*
|
||||||
* check if user wants to view a message
|
* check if user wants to view a message
|
||||||
*/
|
*/
|
||||||
String show = request.getParameter( SHOW );
|
String show = request.getParameter( SHOW );
|
||||||
if( show != null && show.length() > 0 ) {
|
if( show != null && show.length() > 0 ) {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
int id = Integer.parseInt( show );
|
int id = Integer.parseInt( show );
|
||||||
|
|
||||||
if( id >= 0 && id < sessionObject.folder.getPageSize() ) {
|
if( id >= 0 && id < sessionObject.folder.getPageSize() ) {
|
||||||
String uidl = (String)sessionObject.folder.getElementAtPosXonCurrentPage( id );
|
String uidl = (String)sessionObject.folder.getElementAtPosXonCurrentPage( id );
|
||||||
if( uidl != null ) {
|
if( uidl != null ) {
|
||||||
|
Reference in New Issue
Block a user