mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/12639] Send a correct IN entry when deleting marked logs
PHPBB3-12639
This commit is contained in:
parent
8e2a0caf54
commit
5b5f3a5d0c
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue