summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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=?