diff options
Diffstat (limited to 'phpBB/phpbb/install/controller/archive_download.php')
| -rw-r--r-- | phpBB/phpbb/install/controller/archive_download.php | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/install/controller/archive_download.php b/phpBB/phpbb/install/controller/archive_download.php index a0f0ba181d..eabc0a9976 100644 --- a/phpBB/phpbb/install/controller/archive_download.php +++ b/phpBB/phpbb/install/controller/archive_download.php @@ -46,9 +46,9 @@ class archive_download  	 */  	public function conflict_archive()  	{ -		$filename = $this->installer_config->get('update_file_conflict_archive', false); +		$filename = $this->installer_config->get('update_file_conflict_archive', ''); -		if (!$filename) +		if (empty($filename))  		{  			throw new http_exception(404, 'URL_NOT_FOUND');  		} @@ -65,7 +65,7 @@ class archive_download  	{  		$filename = $this->installer_config->get('update_file_archive', ''); -		if (!$filename) +		if (empty($filename))  		{  			throw new http_exception(404, 'URL_NOT_FOUND');  		}  | 
