From 85e81e81dc1ae79c3144374fc3b05df28af76d08 Mon Sep 17 00:00:00 2001 From: Mothblocks <35135081+Mothblocks@users.noreply.github.com> Date: Tue, 5 Apr 2022 01:50:47 -0700 Subject: [PATCH] Fix typos in "slight changes to admin messages" (#65914) Mistakes not caught in https://github.com/tgstation/tgstation/pull/65871 --- code/modules/admin/topic.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index d808d85eb99..3d8eb5a8058 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -405,8 +405,8 @@ return var/rounded_message_id = round(href_list["message_id"], 1) var/datum/db_query/query_message_read = SSdbcore.NewQuery( - "UPDATE [format_table_name("messages")] SET type = 'message sent' WHERE usr.key = :player_key AND id = :id", - list("id" = rounded_message_id) + "UPDATE [format_table_name("messages")] SET type = 'message sent' WHERE targetckey = :player_key AND id = :id", + list("id" = rounded_message_id, "player_key" = usr.ckey) ) if(!query_message_read.warn_execute()) qdel(query_message_read)