mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Re-enables roundid creation again (#7754)
Co-authored-by: Raeschen <rycoop29@gmail.com>
This commit is contained in:
@@ -14,12 +14,17 @@
|
||||
*/
|
||||
|
||||
// Run all strings to be used in an SQL query through this proc first to properly escape out injection attempts.
|
||||
/proc/sanitizeSQL(var/t as text)
|
||||
/proc/sanitizeSQL(var/t as text)
|
||||
//var/sqltext = dbcon.Quote(t); //CHOMPEdit Begin
|
||||
//return copytext(sqltext, 2, length(sqltext));//Quote() adds quotes around input, we already do that
|
||||
return t
|
||||
//CHOMPEdit End
|
||||
|
||||
// CHOMPEdit - Adds format_table_name
|
||||
/proc/format_table_name(table as text)
|
||||
//return CONFIG_GET(string/feedback_tableprefix) + table
|
||||
return table // We don't implement tableprefix
|
||||
|
||||
/*
|
||||
* Text sanitization
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user