1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-22 00:21:02 +01:00

[ticket/15355] Remove version field when no update is available

PHPBB3-15355
This commit is contained in:
Oliver Schramm 2017-09-09 13:39:35 +02:00
parent 16da17a4ba
commit ed7ec01fea

View File

@ -52,7 +52,10 @@ class acp_update
$updates_available = array();
}
$template->assign_block_vars('updates_available', $updates_available);
if (!empty($updates_available))
{
$template->assign_block_vars('updates_available', $updates_available);
}
$update_link = $phpbb_root_path . 'install/app.' . $phpEx;