Fixes datediff not returning (#38215)

This commit is contained in:
Jordie
2018-06-03 06:41:58 +10:00
committed by letterjay
parent 5bf3bd761d
commit d8113dfc99

View File

@@ -520,7 +520,7 @@ GLOBAL_LIST_EMPTY(external_rsc_urls)
if(!account_join_date)
account_age = -1
else
var/datum/DBQuery/query_datediff = SSdbcore.NewQuery("SELECT DATEDIFF(Now(),[account_join_date])")
var/datum/DBQuery/query_datediff = SSdbcore.NewQuery("SELECT DATEDIFF(Now(),'[account_join_date]')")
if(!query_datediff.Execute())
return
if(query_datediff.NextRow())