diff options
| author | CHItA <mate.bartus@gmail.com> | 2015-06-17 11:00:07 +0200 |
|---|---|---|
| committer | Mate Bartus <mate.bartus@gmail.com> | 2015-07-08 01:28:04 +0200 |
| commit | c53ce3d5fbfcdc9924426aee74fb1097138a8a42 (patch) | |
| tree | cfca8c1c557ecb981d2eb48bbe4983886434583c /phpBB/phpbb/install/installer.php | |
| parent | 5ce170dcc3f798627d95876ce6777882ffb8b83e (diff) | |
| download | forums-c53ce3d5fbfcdc9924426aee74fb1097138a8a42.tar forums-c53ce3d5fbfcdc9924426aee74fb1097138a8a42.tar.gz forums-c53ce3d5fbfcdc9924426aee74fb1097138a8a42.tar.bz2 forums-c53ce3d5fbfcdc9924426aee74fb1097138a8a42.tar.xz forums-c53ce3d5fbfcdc9924426aee74fb1097138a8a42.zip | |
[ticket/13740] Fix CS and extend phpbb extensions
[ci skip]
PHPBB3-13740
Diffstat (limited to 'phpBB/phpbb/install/installer.php')
| -rw-r--r-- | phpBB/phpbb/install/installer.php | 11 |
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; } |
