phpBB

Code Changes

File: phpbb/install/module/update_filesystem/task/download_updated_files.php

  Unmodified   Added   Modified   Removed
Line 87Line 87
			$file_update_info = $this->installer_config->get('update_files', array());

// Display download box only if the archive won't be empty

			$file_update_info = $this->installer_config->get('update_files', array());

// 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))


			$display_download_link = !empty($file_update_info) && !(isset($file_update_info['delete']) && count($file_update_info) == 1);
if ($display_download_link)

			{
// Render download box
$this->iohandler->add_download_link(

			{
// Render download box
$this->iohandler->add_download_link(

Line 107Line 108
				'database_update_submit'	=> array(
'label' => 'UPDATE_CONTINUE_UPDATE_PROCESS',
'type' => 'submit',

				'database_update_submit'	=> array(
'label' => 'UPDATE_CONTINUE_UPDATE_PROCESS',
'type' => 'submit',

					'disabled'	=> !empty($file_update_info),

					'disabled'	=> $display_download_link,

				),
));


				),
));