diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-03-19 22:37:19 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-03-19 22:37:19 +0100 |
commit | 6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2 (patch) | |
tree | 1fdf75a27f18c86e255fd8ccc352491dd25853af /phpBB/includes/acp | |
parent | bd34b2301edbe4d3dbe3c980c568cf96c05eab40 (diff) | |
download | forums-6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2.tar forums-6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2.tar.gz forums-6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2.tar.bz2 forums-6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2.tar.xz forums-6f1de69bbe8c876ce3c69f7f23d3dcdf65a890b2.zip |
[ticket/15135] Parse language files in acp_extensions instead of md manager
PHPBB3-15135
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r-- | phpBB/includes/acp/acp_extensions.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_extensions.php b/phpBB/includes/acp/acp_extensions.php index 9effbe0f08..c38c492c1f 100644 --- a/phpBB/includes/acp/acp_extensions.php +++ b/phpBB/includes/acp/acp_extensions.php @@ -162,7 +162,8 @@ class acp_extensions } catch (\phpbb\extension\exception $e) { - trigger_error($e . adm_back_link($this->u_action), E_USER_WARNING); + $message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters())); + trigger_error($message, E_USER_WARNING); } $extension = $phpbb_extension_manager->get_extension($ext_name); |