diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2017-09-09 13:39:35 +0200 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2017-09-09 13:41:04 +0200 |
commit | ed7ec01feaf439f316c0203ec169850419ba0477 (patch) | |
tree | c9e292f996e9616ab582d948b2505a9e37f42863 | |
parent | 16da17a4ba4b55404dba2b3416d8c62971ba16ca (diff) | |
download | forums-ed7ec01feaf439f316c0203ec169850419ba0477.tar forums-ed7ec01feaf439f316c0203ec169850419ba0477.tar.gz forums-ed7ec01feaf439f316c0203ec169850419ba0477.tar.bz2 forums-ed7ec01feaf439f316c0203ec169850419ba0477.tar.xz forums-ed7ec01feaf439f316c0203ec169850419ba0477.zip |
[ticket/15355] Remove version field when no update is available
PHPBB3-15355
-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; |