Commit fc7e041f authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix recently-introduced issue reading the 'mail' base.

Reported by AL@TRMB.
parent 31149a20
...@@ -30,7 +30,7 @@ var sub=http_request.query.msg_sub; ...@@ -30,7 +30,7 @@ var sub=http_request.query.msg_sub;
if(grp=='E-Mail') if(grp=='E-Mail')
sub='mail'; sub='mail';
var s=-1; var s=-1;
if(sub != undefined && msg_area.sub[sub] != undefined) if(sub == 'mail' || msg_area.sub[sub] != undefined)
var msgbase = new MsgBase(sub); var msgbase = new MsgBase(sub);
var message=http_request.query.message; var message=http_request.query.message;
var m=parseInt(http_request.query.message); var m=parseInt(http_request.query.message);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment