Merge pull request #6993 from Citadel-Station-13/upstream-merge-38215

[MIRROR] Fixes datediff not returning
This commit is contained in:
LetterJay
2018-06-03 16:20:12 -05:00
committed by GitHub
+1 -1
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())