diff options
author | lpsolit%gmail.com <> | 2006-08-04 21:45:31 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-08-04 21:45:31 +0200 |
commit | a12f15c96502752b149300d8a325364afa5d6ecc (patch) | |
tree | 60ff51e54459bf621d08a6572c3a00c6536ee0a5 | |
parent | d4def1e24aa0e9329df1e39de161830b4884e565 (diff) | |
download | bugzilla-a12f15c96502752b149300d8a325364afa5d6ecc.tar.gz bugzilla-a12f15c96502752b149300d8a325364afa5d6ecc.tar.xz |
Bug 347272: Deleting a user account crashes Bugzilla - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
-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()'); |