aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-12-08 21:17:50 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-12-08 21:17:50 +0100
commit4c36ca4b8581a63083e8508d90949d5ccdde6d75 (patch)
tree0dee7a3a6a54a6c46e2711fa6c49c4a2e7f2c435 /phpBB/includes
parent1be233a801371918e3b23f4493dd3169427b4a16 (diff)
downloadforums-4c36ca4b8581a63083e8508d90949d5ccdde6d75.tar
forums-4c36ca4b8581a63083e8508d90949d5ccdde6d75.tar.gz
forums-4c36ca4b8581a63083e8508d90949d5ccdde6d75.tar.bz2
forums-4c36ca4b8581a63083e8508d90949d5ccdde6d75.tar.xz
forums-4c36ca4b8581a63083e8508d90949d5ccdde6d75.zip
[ticket/14900] Do not state missing cached version check means ext is invalid
Also fixed typo in code that was looming there for a while. PHPBB3-14900
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/acp/acp_extensions.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php
index ea6feb3e6a..e081eae975 100644
--- a/phpBB/includes/acp/acp_extensions.php
+++ b/phpBB/includes/acp/acp_extensions.php
@@ -451,6 +451,10 @@ class acp_extensions
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
}
}
+ catch (version_check_exception $e)
+ {
+ $disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
+ }
catch (exception_interface $e)
{
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
@@ -461,7 +465,7 @@ class acp_extensions
}
catch (\RuntimeException $e)
{
- $disabeld_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
+ $disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
}
}