1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-03 22:27:54 +02:00

[ticket/12818] Fix the conditions in the call to $log->delete() in mcp_logs

PHPBB3-12818
This commit is contained in:
Tristan Darricau 2014-07-06 00:00:58 +02:00
parent 53ff23671c
commit b7fb2e557e

View File

@ -115,7 +115,7 @@ class mcp_logs
if ($deletemark && sizeof($marked))
{
$conditions = array(
'forum_id' => $forum_list,
'forum_id' => array('IN' => $forum_list),
'log_id' => array('IN' => $marked),
);
@ -126,7 +126,7 @@ class mcp_logs
$keywords = utf8_normalize_nfc(request_var('keywords', '', true));
$conditions = array(
'forum_id' => $forum_list,
'forum_id' => array('IN' => $forum_list),
'keywords' => $keywords,
);