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
+4
View File
@@ -88,8 +88,12 @@
if(!reason)
return
reason = sql_sanitize_text(reason)
var/notes = input("Add Additional Information. This is visible to staff only.") as null|text
notes = sql_sanitize_text(notes)
var/severity
switch(alert("Set Warning Severity",,"Standard","Severe"))
if("Standard")