1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-23 00:50:30 +01:00

Merge pull request #4940 from Elsensee/ticket/15355

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

* github.com:phpbb/phpbb:
  [ticket/15355] Remove version field when no update is available
This commit is contained in:
Tristan Darricau 2017-09-09 17:04:31 +02:00
commit e767b753a4
No known key found for this signature in database
GPG Key ID: 817043C2E29DB881

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;