Fixes datediff not returning (#38215)

This commit is contained in:
Jordie
2018-06-02 13:41:58 -07:00
committed by Tad Hardesty
parent 66d0518bd1
commit 6b84926599
+1 -1
View File
@@ -501,7 +501,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())