aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-10 04:53:20 +0000
committertravis%sedsystems.ca <>2005-03-10 04:53:20 +0000
commit37c937b94d56709a18ec2a8c17199ad4057442a0 (patch)
tree219ae30b059294d2b6fdc45a6a5d8c17fdc63598 /describecomponents.cgi
parentBug 285268 : Use proper extension for Debian packages, and explain what exten... (diff)
downloadbugzilla-37c937b94d56709a18ec2a8c17199ad4057442a0.tar.gz
bugzilla-37c937b94d56709a18ec2a8c17199ad4057442a0.tar.bz2
bugzilla-37c937b94d56709a18ec2a8c17199ad4057442a0.zip
Bug 285090 - crash in describecomponents.cgi if a normal user click on components link from query.cgi
Patch by Albert Ting <altlst@sonic.net> r=jpeshkin a=myk
Diffstat (limited to 'describecomponents.cgi')
-rwxr-xr-xdescribecomponents.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/describecomponents.cgi b/describecomponents.cgi
index e5805f535..8e1755498 100755
--- a/describecomponents.cgi
+++ b/describecomponents.cgi
@@ -78,6 +78,7 @@ if (!$product_id || !CanEnterProduct($product)) {
}
$product = (keys %products)[0];
+ $product_id = get_product_id($product);
}
######################################################################