]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 239576: make sure detaint_natural is always called with a defined value...
authorjocuri%softhome.net <>
Mon, 5 Apr 2004 08:32:43 +0000 (08:32 +0000)
committerjocuri%softhome.net <>
Mon, 5 Apr 2004 08:32:43 +0000 (08:32 +0000)
editkeywords.cgi

index 0083f8ee9bac92a228140850557e04b58e2b74d6..d46476dfa882e059d33c378a9d23bbf6b31868d1 100755 (executable)
@@ -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