diff options
author | lpsolit%gmail.com <> | 2006-06-21 10:05:59 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-06-21 10:05:59 +0200 |
commit | b74f46a8039ebb62472a48a50139f696e6b6d0c7 (patch) | |
tree | 403ced09ba7375be943ec1f9def591e183c840e5 /Bugzilla/Group.pm | |
parent | c41117346f48774e5c6731303702b5ce98db517b (diff) | |
download | bugzilla-b74f46a8039ebb62472a48a50139f696e6b6d0c7.tar.gz bugzilla-b74f46a8039ebb62472a48a50139f696e6b6d0c7.tar.xz |
Bug 324783: The chartgroup, insidergroup and timetrackinggroup groups in editparams.cgi should be listed in a dropdown menu - Patch by Frédéric Buclin <LpSolit@gmail.com> r=Colin r=mkanat a=myk
Diffstat (limited to 'Bugzilla/Group.pm')
-rw-r--r-- | Bugzilla/Group.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Group.pm b/Bugzilla/Group.pm index 31b031381..45caf65cc 100644 --- a/Bugzilla/Group.pm +++ b/Bugzilla/Group.pm @@ -25,7 +25,6 @@ use strict; package Bugzilla::Group; -use Bugzilla::Config; use Bugzilla::Util; use Bugzilla::Error; @@ -113,7 +112,7 @@ sub ValidateGroupName { my $dbh = Bugzilla->dbh; my $query = "SELECT id FROM groups " . "WHERE name = ?"; - if (Param('usevisibilitygroups')) { + if (Bugzilla->params->{'usevisibilitygroups'}) { my @visible = (-1); foreach my $user (@users) { $user && push @visible, @{$user->visible_groups_direct}; |