Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-8079 now.

The sql query in acp_users.php lacks a condition (fix completed in vcs)

Go to ACP -> User and Groups -> Manage users -> select an user -> Feedback
Click "Delete all"
Result: all logs with log type set to LOG_USERS are deleted (not only the ones of the selected user).

Solution: the query at lines 973-975 should look like this:
$sql = 'DELETE FROM ' . LOG_TABLE . ' WHERE log_type = ' . LOG_USERS . " AND reportee_id = $user_id $where_sql";

Comments / History

Changed ticket severity from "Uncategorised/normal" to "Severe"

Action performed by bantu (3.0 Release Manager) on Jan 11th 2009, 20:24

Assigned ticket to user "TerraFrost"

Action performed by Acyd Burn (Server Manager) on Jan 23rd 2009, 11:48

Linked ticket with changeset: r9310

Action performed by TerraFrost (Former Team Member) on Jan 27th 2009, 20:08

Changed ticket status from "New" to "Fix completed in SVN"

Action performed by TerraFrost (Former Team Member) on Jan 27th 2009, 20:08

Ticket details

Related SVN changesets