diff --git a/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php b/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
index abdd730d2e..4d0341ef12 100644
--- a/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
+++ b/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
@@ -126,7 +126,8 @@ class cli_iohandler extends iohandler_base
 		$this->io->newLine();
 
 		$message = $this->translate_message($error_title, $error_description);
-		$this->io->error($message['title'] . "\n" . $message['description']);
+		$message_string = $message['title'] . (!empty($message['description']) ? "\n" . $message['description'] : '');
+		$this->io->error($message_string);
 
 		if ($this->progress_bar !== null)
 		{
@@ -143,7 +144,8 @@ class cli_iohandler extends iohandler_base
 		$this->io->newLine();
 
 		$message = $this->translate_message($warning_title, $warning_description);
-		$this->io->warning($message['title'] . "\n" . $message['description']);
+		$message_string = $message['title'] . (!empty($message['description']) ? "\n" . $message['description'] : '');
+		$this->io->warning($message_string);
 
 		if ($this->progress_bar !== null)
 		{
@@ -172,7 +174,8 @@ class cli_iohandler extends iohandler_base
 		$this->io->newLine();
 
 		$message = $this->translate_message($error_title, $error_description);
-		$this->io->success($message['title'] . "\n" . $message['description']);
+		$message_string = $message['title'] . (!empty($message['description']) ? "\n" . $message['description'] : '');
+		$this->io->success($message_string);
 
 		if ($this->progress_bar !== null)
 		{