aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_logs.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-07-06 00:00:58 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-06 00:00:58 +0200
commitb7fb2e557e9d35cc292f38fc7dddfc2920068eb0 (patch)
treef458113f2b8b913b9c2b36a5528139fa72f05f54 /phpBB/includes/mcp/mcp_logs.php
parent53ff23671c2706c13bbe8ecca6b29b3c3456768b (diff)
downloadforums-b7fb2e557e9d35cc292f38fc7dddfc2920068eb0.tar
forums-b7fb2e557e9d35cc292f38fc7dddfc2920068eb0.tar.gz
forums-b7fb2e557e9d35cc292f38fc7dddfc2920068eb0.tar.bz2
forums-b7fb2e557e9d35cc292f38fc7dddfc2920068eb0.tar.xz
forums-b7fb2e557e9d35cc292f38fc7dddfc2920068eb0.zip
[ticket/12818] Fix the conditions in the call to $log->delete() in mcp_logs
PHPBB3-12818
Diffstat (limited to 'phpBB/includes/mcp/mcp_logs.php')
-rw-r--r--phpBB/includes/mcp/mcp_logs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_logs.php b/phpBB/includes/mcp/mcp_logs.php
index 2945e1ec8a..92dcdb5499 100644
--- a/phpBB/includes/mcp/mcp_logs.php
+++ b/phpBB/includes/mcp/mcp_logs.php
@@ -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,
);