From bf344663aa39c5ddcaf817d4332e704ee90fab2d Mon Sep 17 00:00:00 2001 From: "What.CD" Date: Fri, 3 Jun 2011 08:00:07 +0000 Subject: [PATCH] Fix SQL injection vulnerability --- sections/artist/add_alias.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sections/artist/add_alias.php b/sections/artist/add_alias.php index a59ae7f0..4b340df6 100644 --- a/sections/artist/add_alias.php +++ b/sections/artist/add_alias.php @@ -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); }