]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 285090 - crash in describecomponents.cgi if a normal user click on components...
authortravis%sedsystems.ca <>
Thu, 10 Mar 2005 04:53:20 +0000 (04:53 +0000)
committertravis%sedsystems.ca <>
Thu, 10 Mar 2005 04:53:20 +0000 (04:53 +0000)
Patch by Albert Ting <altlst@sonic.net>   r=jpeshkin  a=myk

describecomponents.cgi

index e5805f53569235caa8f55d187fe8ea56a3c4288b..8e175549814af007938872d3a86e41806b19a3a1 100755 (executable)
@@ -78,6 +78,7 @@ if (!$product_id || !CanEnterProduct($product)) {
     }
 
     $product = (keys %products)[0];
+    $product_id = get_product_id($product);
 }
 
 ######################################################################