Commit 2eae8e3a authored by jocuri%softhome.net's avatar jocuri%softhome.net

Patch for bug 239576: make sure detaint_natural is always called with a defined…

Patch for bug 239576: make sure detaint_natural is always called with a defined value in editkeywords.cgi; r=timeless; a=justdave.
parent 45664663
...@@ -173,7 +173,7 @@ if ($action eq 'new') { ...@@ -173,7 +173,7 @@ if ($action eq 'new') {
# #
if ($action eq 'edit') { if ($action eq 'edit') {
my $id = trim(cgi->param('id')); my $id = trim($cgi->param('id'));
detaint_natural($id); detaint_natural($id);
# get data of keyword # get data of keyword
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment