Text SQL Sanitzation Fixes

Because I was dumb. This should fix issues with notes and warnings, previously generated by the inputs not getting sanitized properly, and thus driving SQL insane.
This commit is contained in:
skull132
2015-10-25 22:32:51 +02:00
parent a12ec65678
commit 849ac27e24
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -8,6 +8,8 @@
var/ckey = sanitizeSQL(key)
var/content = sanitizeSQL(note)
note = sql_sanitize_text(note)
var/a_ckey
if(usr)
a_ckey = sanitizeSQL(usr.key)