aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/installer.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/install/installer.php')
-rw-r--r--phpBB/phpbb/install/installer.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/phpBB/phpbb/install/installer.php b/phpBB/phpbb/install/installer.php
index f5da898a00..d64713e6a3 100644
--- a/phpBB/phpbb/install/installer.php
+++ b/phpBB/phpbb/install/installer.php
@@ -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;
}