summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-04-05 10:32:43 +0200
committerjocuri%softhome.net <>2004-04-05 10:32:43 +0200
commit2eae8e3ac23f3e24e69eb1151b1005830dbd7fe5 (patch)
tree8e48a0cbd9cf08dcb68bdcb3064b46beb6b70549
parent456646632b04e5ddb8dc046c8a07c2d37f969225 (diff)
downloadbugzilla-2eae8e3ac23f3e24e69eb1151b1005830dbd7fe5.tar.gz
bugzilla-2eae8e3ac23f3e24e69eb1151b1005830dbd7fe5.tar.xz
Patch for bug 239576: make sure detaint_natural is always called with a defined value in editkeywords.cgi; r=timeless; a=justdave.
-rwxr-xr-xeditkeywords.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editkeywords.cgi b/editkeywords.cgi
index 0083f8ee9..d46476dfa 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