diff options
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-x | userprefs.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userprefs.cgi b/userprefs.cgi index 974791d52..342df065b 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -282,7 +282,7 @@ sub DoPermissions { "ORDER BY name"); while (MoreSQLData()) { my ($nam, $desc) = FetchSQLData(); - if (UserCanBlessGroup($nam)) { + if (Bugzilla->user->can_bless($nam)) { push(@set_bits, {"desc" => $desc, "name" => $nam}); } } |