diff options
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}; |