diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2018-01-07 18:43:45 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2018-01-07 18:43:45 +0100 |
| commit | 7e2136587a4d5f2f011189aca6f94ee6a780eaf1 (patch) | |
| tree | 763217246e4df1f69d6612c0ed1397bc05fbec74 /phpBB/phpbb/install | |
| parent | 182a96f2738316adcb292816a9ac8af0e0cb5866 (diff) | |
| parent | 77b275181aeddf43e1077d06abce11a9722bb85a (diff) | |
| download | forums-7e2136587a4d5f2f011189aca6f94ee6a780eaf1.tar forums-7e2136587a4d5f2f011189aca6f94ee6a780eaf1.tar.gz forums-7e2136587a4d5f2f011189aca6f94ee6a780eaf1.tar.bz2 forums-7e2136587a4d5f2f011189aca6f94ee6a780eaf1.tar.xz forums-7e2136587a4d5f2f011189aca6f94ee6a780eaf1.zip | |
Merge branch 'prep-release-3.2.2' into 3.2.x
Diffstat (limited to 'phpBB/phpbb/install')
| -rw-r--r-- | phpBB/phpbb/install/module/update_filesystem/task/download_updated_files.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/install/module/update_filesystem/task/download_updated_files.php b/phpBB/phpbb/install/module/update_filesystem/task/download_updated_files.php index 0b83e9a79d..4d7f0e0cdf 100644 --- a/phpBB/phpbb/install/module/update_filesystem/task/download_updated_files.php +++ b/phpBB/phpbb/install/module/update_filesystem/task/download_updated_files.php @@ -86,7 +86,8 @@ class download_updated_files extends task_base { $file_update_info = $this->installer_config->get('update_files', array()); - if (count($file_update_info) > 0) + // Display download box only if the archive won't be empty + if (!empty($file_update_info) && !(isset($file_update_info['delete']) && count($file_update_info) == 1)) { // Render download box $this->iohandler->add_download_link( |
