mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
A couple of minor bug fixes for note deletion
git-svn-id: file:///svn/phpbb/trunk@5455 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
287992ea29
commit
887aa75aa2
1 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ function mcp_notes_user_view($id, $mode, $action)
|
|||
// Handle any actions
|
||||
if (($deletemark || $deleteall) && $auth->acl_get('a_clearlogs'))
|
||||
{
|
||||
$where_sql = '';
|
||||
$where_sql = " AND reportee_id = $user_id";
|
||||
if ($deletemark && $marked)
|
||||
{
|
||||
$sql_in = array();
|
||||
|
@ -135,7 +135,7 @@ function mcp_notes_user_view($id, $mode, $action)
|
|||
$where_sql";
|
||||
$db->sql_query($sql);
|
||||
|
||||
add_log('admin', 'LOG_USERS_CLEAR');
|
||||
add_log('admin', 'LOG_CLEAR_USER', $userrow['username']);
|
||||
|
||||
$msg = ($deletemark) ? 'MARKED_DELETED' : 'ALL_DELETED';
|
||||
$redirect = "mcp.$phpEx$SID&i=$id&mode=$mode&u=$user_id";
|
||||
|
|
Loading…
Add table
Reference in a new issue