summaryrefslogtreecommitdiffstats
path: root/describecomponents.cgi
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-10 05:53:20 +0100
committertravis%sedsystems.ca <>2005-03-10 05:53:20 +0100
commit37c937b94d56709a18ec2a8c17199ad4057442a0 (patch)
tree219ae30b059294d2b6fdc45a6a5d8c17fdc63598 /describecomponents.cgi
parent58a7fc28714e98d2132e4ff9f8eedc58074a7824 (diff)
downloadbugzilla-37c937b94d56709a18ec2a8c17199ad4057442a0.tar.gz
bugzilla-37c937b94d56709a18ec2a8c17199ad4057442a0.tar.xz
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);
}
######################################################################