mirror of
https://github.com/itflow-org/itflow
synced 2026-07-23 08:50:42 +00:00
Replace Function sanitizeInput() with just escapeSql() and update all instances throughout
This commit is contained in:
@@ -9,7 +9,7 @@ function escapeHtml($unsanitizedInput) {
|
||||
return htmlspecialchars($unsanitizedInput ?? '', ENT_QUOTES, 'UTF-8');
|
||||
}
|
||||
|
||||
function sanitizeInput($input) {
|
||||
function escapeSql($input) {
|
||||
global $mysqli;
|
||||
|
||||
if (!empty($input)) {
|
||||
|
||||
Reference in New Issue
Block a user