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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user