Bug 226477: Fix undefined method call in Bugzilla::User->in_group

r=timeless,a=justdave
This commit is contained in:
bugreport%peshkin.net 2004-05-12 05:11:27 +00:00
parent fdc0631e13
commit fd8d6ce267

View File

@ -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=?