From: jocuri%softhome.net <> Date: Mon, 5 Apr 2004 08:32:43 +0000 (+0000) Subject: Patch for bug 239576: make sure detaint_natural is always called with a defined value... X-Git-Tag: bugzilla-2.18rc1~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2eae8e3ac23f3e24e69eb1151b1005830dbd7fe5;p=thirdparty%2Fbugzilla.git Patch for bug 239576: make sure detaint_natural is always called with a defined value in editkeywords.cgi; r=timeless; a=justdave. --- diff --git a/editkeywords.cgi b/editkeywords.cgi index 0083f8ee9b..d46476dfa8 100755 --- a/editkeywords.cgi +++ b/editkeywords.cgi @@ -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