Skip to content
Snippets Groups Projects
Commit a2b651ce authored by deuce's avatar deuce
Browse files

Use get_msg_offset() since there's no offset property.

parent dd434eca
No related branches found
No related tags found
No related merge requests found
......@@ -55,10 +55,10 @@ if(template.hdr != null) {
template.title="Message: "+template.hdr.subject;
}
var tmp=find_np_message(template.hdr.offset,true);
var tmp=find_np_message(get_msg_offset(template.hdr.number),true);
if(tmp!=undefined)
template.nextlink='<a href="msg.ssjs?msg_sub='+sub+'&amp;message='+tmp+'">'+next_msg_html+'</a>';
var tmp=find_np_message(template.hdr.offset,false);
tmp=find_np_message(get_msg_offset(template.hdr.number),false);
if(tmp!=undefined)
template.prevlink='<a href="msg.ssjs?msg_sub='+sub+'&amp;message='+tmp+'">'+prev_msg_html+'</a>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment