mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-31 02:21:36 +00:00
Fix SQL injection vulnerability
This commit is contained in:
parent
873044dae6
commit
bf344663aa
@ -7,7 +7,7 @@
|
||||
$AliasName = db_string($_POST['name']);
|
||||
if(!$Redirect) { $Redirect = 0; }
|
||||
|
||||
if(!is_number($ArtistID) || !($Redirect == 0 || is_number($Redirect)) || !$ArtistID) {
|
||||
if(!is_number($ArtistID) || !($Redirect === 0 || is_number($Redirect)) || !$ArtistID) {
|
||||
error(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user