aboutsummaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-12 09:08:54 +0000
committerlpsolit%gmail.com <>2005-10-12 09:08:54 +0000
commit2ecd676f8e8154f6364a3a158013250695ed9251 (patch)
treea5444c151d610a2d8a4751b4ffde88739624a259 /buglist.cgi
parent6e549ec68c0893d8eba685a5d1a4eb151752a07d (diff)
downloadbugs-2ecd676f8e8154f6364a3a158013250695ed9251.tar
bugs-2ecd676f8e8154f6364a3a158013250695ed9251.tar.gz
bugs-2ecd676f8e8154f6364a3a158013250695ed9251.tar.bz2
bugs-2ecd676f8e8154f6364a3a158013250695ed9251.tar.xz
bugs-2ecd676f8e8154f6364a3a158013250695ed9251.zip
Bug 306325: Move CanEnterProduct() and CanEnterProductOrWarn() out of globals.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel r=wicked a=justdave
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/buglist.cgi b/buglist.cgi
index b832d82c7..11835c3a6 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -988,8 +988,7 @@ if ($dotweak) {
$vars->{'dotweak'} = 1;
$vars->{'use_keywords'} = 1 if @::legal_keywords;
- my @enterable_products = GetEnterableProducts();
- $vars->{'products'} = \@enterable_products;
+ $vars->{'products'} = Bugzilla->user->get_enterable_products;
$vars->{'platforms'} = \@::legal_platform;
$vars->{'op_sys'} = \@::legal_opsys;
$vars->{'priorities'} = \@::legal_priority;