Skip to content
Snippets Groups Projects
Commit 41b375bc authored by runemaster's avatar runemaster
Browse files

Bugfix ... do not do fancy profile stuff if sub=='mail' it does not work :)

parent 4e5538fd
Branches
Tags
No related merge requests found
......@@ -33,6 +33,7 @@ if(hdr.from_ext!=undefined) {
usr = new User(template.u_num);
template.author_firston = strftime("%m/%d/%y",usr.stats.firston_date);
template.author_posts = usr.stats.total_posts;
if(sub!='mail') {
if((user.compare_ars(msg_area.sub[sub].operator_ars) && msg_area.sub[sub].operator_ars != '' || user.number==1) && show_ip==true) {
template.author_ip='IP: ' + usr.note + '<br /><br />';
}
......@@ -51,6 +52,7 @@ if(hdr.from_ext!=undefined) {
}
}
}
}
template.can_delete=can_delete(m);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment