mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/12818] Use assertGreaterThanOrEqual in the tests [ticket/12818] Don't use the id for i= [ticket/12818] Add tests [ticket/12818] Fix the conditions in the call to $log->delete() in mcp_logs
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user