diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2017-09-09 17:04:31 +0200 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2017-09-09 17:04:31 +0200 |
| commit | e767b753a4b417dd2ab3cb9e58784235b84c0354 (patch) | |
| tree | dab625822085470317b2fc7597343a05be822e5e /phpBB | |
| parent | c265eab081cce761d150cf4a641ead5483193ab7 (diff) | |
| parent | ed7ec01feaf439f316c0203ec169850419ba0477 (diff) | |
| download | forums-e767b753a4b417dd2ab3cb9e58784235b84c0354.tar forums-e767b753a4b417dd2ab3cb9e58784235b84c0354.tar.gz forums-e767b753a4b417dd2ab3cb9e58784235b84c0354.tar.bz2 forums-e767b753a4b417dd2ab3cb9e58784235b84c0354.tar.xz forums-e767b753a4b417dd2ab3cb9e58784235b84c0354.zip | |
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
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/includes/acp/acp_update.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_update.php b/phpBB/includes/acp/acp_update.php index b52f315d7f..9124a59ef2 100644 --- a/phpBB/includes/acp/acp_update.php +++ b/phpBB/includes/acp/acp_update.php @@ -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; |
