[ticket/12639] Send a correct IN entry when deleting marked logs

PHPBB3-12639
This commit is contained in:
Tristan Darricau 2014-06-02 23:12:36 +02:00
parent 8e2a0caf54
commit 5b5f3a5d0c
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ class acp_logs
{ {
$sql_in[] = $mark; $sql_in[] = $mark;
} }
$conditions['log_id'] = $sql_in; $conditions['log_id'] = array('IN' => $sql_in);
unset($sql_in); unset($sql_in);
} }

View file

@ -116,7 +116,7 @@ class mcp_logs
{ {
$conditions = array( $conditions = array(
'forum_id' => $forum_list, 'forum_id' => $forum_list,
'log_id' => $marked, 'log_id' => array('IN' => $marked),
); );
$phpbb_log->delete('mod', $conditions); $phpbb_log->delete('mod', $conditions);