aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-07-01 09:00:56 +0000
committerjustdave%syndicomm.com <>2001-07-01 09:00:56 +0000
commit092f07bfc3ff0259544f2dbd99d79868975f7167 (patch)
tree1ccf4d2d16b2467d1f7962045cc66e265bede3c3 /enter_bug.cgi
parentFix for bug 76183 and bug 71555: consolidates chmod activity in one place in ... (diff)
downloadbugzilla-092f07bfc3ff0259544f2dbd99d79868975f7167.tar.gz
bugzilla-092f07bfc3ff0259544f2dbd99d79868975f7167.tar.bz2
bugzilla-092f07bfc3ff0259544f2dbd99d79868975f7167.zip
Fix for bug 87596: improper definition of $::components in globals.pl
Patch by Dave Miller <justdave@syndicomm.com> r= jake@acutex.net
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-xenter_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi
index c1f4e61b1..91622590c 100755
--- a/enter_bug.cgi
+++ b/enter_bug.cgi
@@ -237,7 +237,7 @@ my $platform_popup = make_popup('rep_platform', \@::legal_platform,
pickplatform(), 0);
my $opsys_popup = make_popup('op_sys', \@::legal_opsys, pickos(), 0);
-if (0 == $::components{$product}) {
+if (0 == @{$::components{$product}}) {
print "<H1>Permission Denied</H1>\n";
print "Sorry. You need to have at least one component for this product\n";
print "in order to create a new bug. Go to the \"Components\" link to create\n";