mirror of
https://github.com/itflow-org/itflow
synced 2026-08-16 20:45:12 +00:00
Replace Function sanitizeInput() with just escapeSql() and update all instances throughout
This commit is contained in:
@@ -26,7 +26,7 @@ if (isset($_GET['stripe_create_pi'])) {
|
||||
$jsonStr = file_get_contents('php://input');
|
||||
$jsonObj = json_decode($jsonStr, true);
|
||||
$invoice_id = intval($jsonObj['invoice_id']);
|
||||
$url_key = sanitizeInput($jsonObj['url_key']);
|
||||
$url_key = escapeSql($jsonObj['url_key']);
|
||||
|
||||
// Query invoice details
|
||||
$invoice_sql = mysqli_query(
|
||||
|
||||
Reference in New Issue
Block a user