fix for runtime in skills computer

Signed-off-by: Cael Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael Aislinn
2015-09-01 20:05:42 +10:00
parent cc0f4f7e90
commit 0228ca4959

View File

@@ -277,7 +277,11 @@ What a mess.*/
else
P.info += "<B>General Record Lost!</B><BR>"
P.info += "</TT>"
P.name = "Employment Record ([active1.fields["name"]])"
if(active1)
P.name = "Employment Record ([active1.fields["name"]])"
else
P.name = "Employment Record (Unknown/Invald Entry)"
log_debug("[usr] ([usr.ckey]) attempted to print a null employee record, this should be investigated.")
printing = null
//RECORD DELETE
if ("Delete All Records")