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:
@@ -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);
|
||||
}
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user