From: travis%sedsystems.ca <> Date: Thu, 10 Mar 2005 04:53:20 +0000 (+0000) Subject: Bug 285090 - crash in describecomponents.cgi if a normal user click on components... X-Git-Tag: bugzilla-2.19.3~185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37c937b94d56709a18ec2a8c17199ad4057442a0;p=thirdparty%2Fbugzilla.git Bug 285090 - crash in describecomponents.cgi if a normal user click on components link from query.cgi Patch by Albert Ting r=jpeshkin a=myk --- diff --git a/describecomponents.cgi b/describecomponents.cgi index e5805f5356..8e17554981 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); } ######################################################################