aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/install/helper/iohandler/cli_iohandler.php')
-rw-r--r--phpBB/phpbb/install/helper/iohandler/cli_iohandler.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php b/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
index 4d0341ef12..89f3594378 100644
--- a/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
+++ b/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
@@ -125,6 +125,10 @@ class cli_iohandler extends iohandler_base
{
$this->io->newLine();
+ if (strpos($error_title, '<br />') !== false)
+ {
+ $error_title = strip_tags(str_replace('<br />', "\n", $error_title));
+ }
$message = $this->translate_message($error_title, $error_description);
$message_string = $message['title'] . (!empty($message['description']) ? "\n" . $message['description'] : '');
$this->io->error($message_string);