aboutsummaryrefslogtreecommitdiffstats
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
parent58a7fc28714e98d2132e4ff9f8eedc58074a7824 (diff)
downloadbugs-37c937b94d56709a18ec2a8c17199ad4057442a0.tar
bugs-37c937b94d56709a18ec2a8c17199ad4057442a0.tar.gz
bugs-37c937b94d56709a18ec2a8c17199ad4057442a0.tar.bz2
bugs-37c937b94d56709a18ec2a8c17199ad4057442a0.tar.xz
bugs-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
-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);
}
######################################################################