From 50dbcc4e7a38642856cbeeef88d2b3a4a884b5e1 Mon Sep 17 00:00:00 2001
From: "mkanat%bugzilla.org" <>
Date: Fri, 8 Aug 2008 06:26:33 +0000
Subject: Bug 442031: Make Bugzilla::User::groups return an arrayref of
Bugzilla::Group objects (instead of a hashref of group ids and names).
---
template/en/default/admin/users/userdata.html.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'template/en/default/admin/users/userdata.html.tmpl')
diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl
index feee4c5d6..f23aa1b85 100644
--- a/template/en/default/admin/users/userdata.html.tmpl
+++ b/template/en/default/admin/users/userdata.html.tmpl
@@ -27,7 +27,7 @@
[% IF editform %]
- [% IF !otheruser.groups.bz_sudo_protect %]
+ [% IF !otheruser.in_group('bz_sudo_protect') %]
Impersonate this user
--
cgit v1.2.3-24-g4f1b