Skip to content

Commit

Permalink
fix missing comma and argument name in edit query (tgstation#52127)
Browse files Browse the repository at this point in the history
Co-authored-by: Jordie0608 <=>
  • Loading branch information
Jordie0608 authored Jul 11, 2020
1 parent 0533043 commit 61d5549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/admin/sql_ban_system.dm
Original file line number Diff line number Diff line change
Expand Up @@ -838,12 +838,12 @@
var/datum/db_query/query_edit_ban = SSdbcore.NewQuery({"
UPDATE [format_table_name("ban")]
SET
expiration_time = IF(:duration IS NULL, NULL, bantime + INTERVAL :duration [interval])
expiration_time = IF(:duration IS NULL, NULL, bantime + INTERVAL :duration [interval]),
applies_to_admins = :applies_to_admins,
reason = :reason,
ckey = :ckey,
ip = INET_ATON(:ip),
computerid = :ci
computerid = :cid,
edits = CONCAT(IFNULL(edits,''), :change_message)
WHERE [where]
"}, arguments)
Expand Down

0 comments on commit 61d5549

Please sign in to comment.