Patch for bug 239576: make sure detaint_natural is always called with a defined value in editkeywords.cgi; r=timeless; a=justdave.
git-svn-id: svn://10.0.0.236/trunk@154505 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
82a2ead508
commit
c8e5c19ce5
@ -173,7 +173,7 @@ if ($action eq 'new') {
|
||||
#
|
||||
|
||||
if ($action eq 'edit') {
|
||||
my $id = trim(cgi->param('id'));
|
||||
my $id = trim($cgi->param('id'));
|
||||
detaint_natural($id);
|
||||
|
||||
# get data of keyword
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user