1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[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;
}
$conditions['log_id'] = $sql_in;
$conditions['log_id'] = array('IN' => $sql_in);
unset($sql_in);
}

View File

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