1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 08:47:45 +02:00

[ticket/17374] Only delete marked logs if entries have been marked

PHPBB-17374
This commit is contained in:
Marc Alexander
2024-07-23 20:18:28 +02:00
parent 15960a7918
commit 58cc1f4ef3

View File

@@ -51,7 +51,7 @@ class acp_logs
$pagination = $phpbb_container->get('pagination');
// Delete entries if requested and able
if (($deletemark || $deleteall) && $auth->acl_get('a_clearlogs'))
if (($deleteall || ($deletemark && count($marked))) && $auth->acl_get('a_clearlogs'))
{
if (confirm_box(true))
{