[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(); $updates_available = array();
} }
if (!empty($updates_available))
{
$template->assign_block_vars('updates_available', $updates_available); $template->assign_block_vars('updates_available', $updates_available);
}
$update_link = $phpbb_root_path . 'install/app.' . $phpEx; $update_link = $phpbb_root_path . 'install/app.' . $phpEx;