1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 15:31:42 +02:00

[ticket/13740] Fix CS and extend phpbb extensions

[ci skip]

PHPBB3-13740
This commit is contained in:
CHItA
2015-06-17 11:00:07 +02:00
committed by Mate Bartus
parent 5ce170dcc3
commit c53ce3d5fb
6 changed files with 46 additions and 74 deletions

View File

@@ -229,17 +229,18 @@ class installer
}
catch (invalid_service_name_exception $e)
{
if ($e->has_params())
$params = $e->get_parameters();
if (!empty($params))
{
$msg = $e->get_params();
array_unshift($msg, $e->get_error());
array_unshift($params, $e->getMessage());
}
else
{
$msg = $e->get_error();
$params = $e->getMessage();
}
$this->iohandler->add_error_message($msg);
$this->iohandler->add_error_message($params);
$flush_messages = true;
}