Commit a12f15c9 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 347272: Deleting a user account crashes Bugzilla - Patch by Frédéric Buclin…

Bug 347272: Deleting a user account crashes Bugzilla - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
parent d4def1e2
......@@ -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()');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment