From 8c982c7aa0d2861d03e7b216c9be32b0690d7f6c Mon Sep 17 00:00:00 2001 From: lionel-rowe Date: Fri, 1 Apr 2022 22:54:33 +0100 Subject: [PATCH] [ticket/16977] Fix cron-job img tag layout and accessibility PHPBB3-16977 --- phpBB/phpbb/controller/helper.php | 2 +- phpBB/viewforum.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/phpbb/controller/helper.php b/phpBB/phpbb/controller/helper.php index 3262e6bbc4..d4eef1c374 100644 --- a/phpBB/phpbb/controller/helper.php +++ b/phpBB/phpbb/controller/helper.php @@ -364,7 +364,7 @@ class helper if ($task) { $url = $task->get_url(); - $this->template->assign_var('RUN_CRON_TASK', 'cron'); + $this->template->assign_var('RUN_CRON_TASK', ''); } else { diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index f070e0400f..4eba9bde25 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -245,7 +245,7 @@ if (!$config['use_system_cron']) if ($task->is_ready()) { $url = $task->get_url(); - $template->assign_var('RUN_CRON_TASK', 'cron'); + $template->assign_var('RUN_CRON_TASK', ''); } else { @@ -256,7 +256,7 @@ if (!$config['use_system_cron']) if ($task->is_ready()) { $url = $task->get_url(); - $template->assign_var('RUN_CRON_TASK', 'cron'); + $template->assign_var('RUN_CRON_TASK', ''); } } }