aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/extension
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-03-23 21:52:35 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-03-23 21:52:35 +0100
commita975a3573435d56b837c78b9df5ef92dc2b6dba6 (patch)
tree4644689e9918228051700822b2782047acc3aade /phpBB/phpbb/extension
parent6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2 (diff)
downloadforums-a975a3573435d56b837c78b9df5ef92dc2b6dba6.tar
forums-a975a3573435d56b837c78b9df5ef92dc2b6dba6.tar.gz
forums-a975a3573435d56b837c78b9df5ef92dc2b6dba6.tar.bz2
forums-a975a3573435d56b837c78b9df5ef92dc2b6dba6.tar.xz
forums-a975a3573435d56b837c78b9df5ef92dc2b6dba6.zip
[ticket/15135] Correctly pass exception arguments and add back link again
PHPBB3-15135
Diffstat (limited to 'phpBB/phpbb/extension')
-rw-r--r--phpBB/phpbb/extension/metadata_manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/extension/metadata_manager.php b/phpBB/phpbb/extension/metadata_manager.php
index 3dc6cdaee6..6fc6dc9891 100644
--- a/phpBB/phpbb/extension/metadata_manager.php
+++ b/phpBB/phpbb/extension/metadata_manager.php
@@ -295,7 +295,7 @@ class metadata_manager
{
if (!isset($this->metadata['extra']['soft-require']['phpbb/phpbb']))
{
- throw new \phpbb\extension\exception('META_FIELD_NOT_SET', 'soft-require');
+ throw new \phpbb\extension\exception('META_FIELD_NOT_SET', array('soft-require'));
}
return true;
@@ -311,7 +311,7 @@ class metadata_manager
{
if (!isset($this->metadata['require']['php']))
{
- throw new \phpbb\extension\exception('META_FIELD_NOT_SET', 'require php');
+ throw new \phpbb\extension\exception('META_FIELD_NOT_SET', array('require php'));
}
return true;