diff options
author | jocuri%softhome.net <> | 2004-02-05 00:23:39 +0100 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-02-05 00:23:39 +0100 |
commit | ef4cce63068b0f44c63b3ab4cb46f75502240259 (patch) | |
tree | a1c3ff31897774965a713174746db4318c5ba55f /enter_bug.cgi | |
parent | 4831ddd26807c9868baec3645255e2b762547ac0 (diff) | |
download | bugzilla-ef4cce63068b0f44c63b3ab4cb46f75502240259.tar.gz bugzilla-ef4cce63068b0f44c63b3ab4cb46f75502240259.tar.xz |
Patch for bug 194472; link to the product's component editor when displaying error regarding lack of components; patch written by me based on the work and review of chaduv and jouni; r=kiko; a=justdave.
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-x | enter_bug.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi index eedd1da7f..e55ccc58c 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -238,7 +238,7 @@ if (lsearch(\@::enterable_products, $product) == -1) { my $product_id = get_product_id($product); if (0 == @{$::components{$product}}) { - ThrowUserError("no_components"); + ThrowUserError("no_components", {product => $product}); } elsif (1 == @{$::components{$product}}) { # Only one component; just pick it. |