From 64498b80991100e679ec0bddbf1d477d0d5baccc Mon Sep 17 00:00:00 2001 From: LetterJay Date: Thu, 23 Aug 2018 11:58:09 -0500 Subject: [PATCH] oops --- code/modules/library/lib_machines.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/library/lib_machines.dm b/code/modules/library/lib_machines.dm index 70ee897b29..5f686699d2 100644 --- a/code/modules/library/lib_machines.dm +++ b/code/modules/library/lib_machines.dm @@ -424,7 +424,7 @@ GLOBAL_LIST(cachedbooks) // List of our cached book datums var/sqlcategory = sanitizeSQL(upload_category) var/sqlckey = sanitizeSQL(usr.ckey) var/msg = "[key_name(usr)] has uploaded the book titled [scanner.cache.name], [length(scanner.cache.dat)] signs" - var/datum/DBQuery/query_library_upload = SSdbcore.NewQuery("INSERT INTO [format_table_name("library")] (author, title, content, category, ckey, datetime, round_id_created) VALUES ('[sqlauthor]', '[sqltitle]', '[sqlcontent]',, '[sqlckey]', Now(), '[GLOB.round_id]')") + var/datum/DBQuery/query_library_upload = SSdbcore.NewQuery("INSERT INTO [format_table_name("library")] (author, title, content, category, ckey, datetime, round_id_created) VALUES ('[sqlauthor]', '[sqltitle]', '[sqlcontent]', '[sqlcategory], '[sqlckey]', Now(), '[GLOB.round_id]')") if(!query_library_upload.Execute()) qdel(query_library_upload) alert("Database error encountered uploading to Archive")