mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[ticket/12639] Don't make a copy of $marked when deleting logs in acp_logs
PHPBB3-12639
This commit is contained in:
parent
5b5f3a5d0c
commit
3e31764007
1 changed files with 1 additions and 7 deletions
|
@ -58,13 +58,7 @@ class acp_logs
|
||||||
|
|
||||||
if ($deletemark && sizeof($marked))
|
if ($deletemark && sizeof($marked))
|
||||||
{
|
{
|
||||||
$sql_in = array();
|
$conditions['log_id'] = array('IN' => $marked);
|
||||||
foreach ($marked as $mark)
|
|
||||||
{
|
|
||||||
$sql_in[] = $mark;
|
|
||||||
}
|
|
||||||
$conditions['log_id'] = array('IN' => $sql_in);
|
|
||||||
unset($sql_in);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($deleteall)
|
if ($deleteall)
|
||||||
|
|
Loading…
Add table
Reference in a new issue