Skip to content

Commit

Permalink
Bugfix for recent XSS fix (oops)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigk5n committed Oct 14, 2021
1 parent b3ec3ba commit d3f9e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/formvars.php
Expand Up @@ -173,7 +173,7 @@ function getGetValue($name, $devVal=NULL, $chkCSS=false)
}
$cleanXSS = $chkXSS ? chkXSS($getName) : true;
preventHacking($name, $getName);
return $cleanXSS ? $postName : NULL;
return $cleanXSS ? $getName : NULL;
}

/**
Expand Down

0 comments on commit d3f9e85

Please sign in to comment.