aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorMate Bartus <mate.bartus@gmail.com>2016-02-02 17:53:10 +0100
committerMate Bartus <mate.bartus@gmail.com>2016-02-02 18:17:11 +0100
commitdebd1bb9d655106eb5454ac4687837c9323a99ae (patch)
tree0394fe9a938173df9a5755d8cb56ca3982081cf4 /phpBB/phpbb
parentb432f33b49e142cadc3643c4255192d4c10cc14c (diff)
downloadforums-debd1bb9d655106eb5454ac4687837c9323a99ae.tar
forums-debd1bb9d655106eb5454ac4687837c9323a99ae.tar.gz
forums-debd1bb9d655106eb5454ac4687837c9323a99ae.tar.bz2
forums-debd1bb9d655106eb5454ac4687837c9323a99ae.tar.xz
forums-debd1bb9d655106eb5454ac4687837c9323a99ae.zip
[ticket/14321] Clean up arcihve controller logic
PHPBB3-14321
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/install/controller/archive_download.php6
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');
}