Skip to content
Snippets Groups Projects
Commit 6c5ba42e authored by rswindell's avatar rswindell
Browse files

Work-around bizarre (inexplicable) error:

msg.ssjs line 42: Error: can't convert template.u_num to an integer
I'm really kind of lost on this one and suspect it might have something to do
with the msgbase lazy properties.
parent ea2e1f7d
Branches
Tags
No related merge requests found
......@@ -37,7 +37,7 @@ if(hdr.attr & MSG_MODERATED) {
if(!(hdr.attr & MSG_VALIDATED))
error("Message pending moderator validation");
}
if(hdr.from_ext != null) {
if(Number(hdr.from_ext) > 0) {
template.u_num = hdr.from_ext;
usr = new User(template.u_num);
template.author_firston = strftime("%m/%d/%y",usr.stats.firston_date);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment