summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-05-12 14:11:27 +0200
committerbugreport%peshkin.net <>2004-05-12 14:11:27 +0200
commit4f7b9f55e5be5afab62cabf0788f3964c0c4ba42 (patch)
tree2a60f1620f22cb1a38b4ee5961cf8c88ad97dc04
parentce5d97efa0895d090493cf7ea5865f8684653af7 (diff)
downloadbugzilla-4f7b9f55e5be5afab62cabf0788f3964c0c4ba42.tar.gz
bugzilla-4f7b9f55e5be5afab62cabf0788f3964c0c4ba42.tar.xz
Bug 226477: Fix undefined method call in Bugzilla::User->in_group
r=timeless,a=justdave
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index e75976e59..50a4e62b7 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -206,7 +206,7 @@ sub in_group {
my $dbh = Bugzilla->dbh;
- my $res = $dbh->selectrow(q{SELECT 1
+ my ($res) = $dbh->selectrow_array(q{SELECT 1
FROM groups, user_group_map
WHERE groups.id=user_group_map.group_id
AND user_group_map.user_id=?