diff options
-rwxr-xr-x | editusers.cgi | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/editusers.cgi b/editusers.cgi index 1809101d6..4f5211765 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -567,10 +567,8 @@ if ($action eq 'search') { Bugzilla->logout_user($otherUser); # Get the named query list so we can delete namedquery_group_map entries. - my $namedqueries_as_string = join(', ', $dbh->selectcol_arrayref( - 'SELECT id FROM namedqueries WHERE userid = ?', - undef, - $otherUserID)); + my $namedqueries_as_string = join(', ', @{$dbh->selectcol_arrayref( + 'SELECT id FROM namedqueries WHERE userid = ?', undef, $otherUserID)}); # Get the timestamp for LogActivityEntry. my $timestamp = $dbh->selectrow_array('SELECT NOW()'); |