diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index bcc52efefa..c17101e63e 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -482,7 +482,7 @@ GLOBAL_LIST(external_rsc_urls) if(!account_join_date) account_age = -1 else - var/datum/DBQuery/query_datediff = SSdbcore.NewQuery("SELECT DATEDIFF(Now(),accountjoindate)") + var/datum/DBQuery/query_datediff = SSdbcore.NewQuery("SELECT DATEDIFF(Now(),[account_join_date])") if(!query_datediff.Execute()) return if(query_datediff.NextRow())