diff --git a/code/modules/admin/admin_memo.dm b/code/modules/admin/admin_memo.dm
index 4dd7189988a..2275dade7b9 100644
--- a/code/modules/admin/admin_memo.dm
+++ b/code/modules/admin/admin_memo.dm
@@ -57,8 +57,8 @@
message_admins("[key_name_admin(src)] has edited [target_sql_ckey]'s memo from
[old_memo]
to
[new_memo]")
if("Show")
var/DBQuery/query_memoshow = dbcon.NewQuery("SELECT id, ckey, memotext, timestamp, last_editor FROM [format_table_name("memo")])")
+ var/output
while(query_memoshow.NextRow())
- var/output
var/id = query_memoshow.item[1]
var/ckey = query_memoshow.item[2]
var/memotext = query_memoshow.item[3]