From a12f15c96502752b149300d8a325364afa5d6ecc Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 4 Aug 2006 19:45:31 +0000 Subject: [PATCH] =?utf8?q?Bug=20347272:=20Deleting=20a=20user=20account=20?= =?utf8?q?crashes=20Bugzilla=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20Bucli?= =?utf8?q?n=20=20r=3Dwurblzap=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- editusers.cgi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/editusers.cgi b/editusers.cgi index 1809101d69..4f52117654 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()'); -- 2.47.3