aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/helper/iohandler
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-07 16:59:04 +0100
committerMarc Alexander <admin@m-a-styles.de>2015-12-07 16:59:04 +0100
commit41b4fee6557c34d9ff534e7c1693d4e84e166ce1 (patch)
treed7660cf466c51d8fc7970620fca2e39ecc4c20dc /phpBB/phpbb/install/helper/iohandler
parent1b9ae803c5cf887c8acc2e7580ccb6fe76522d58 (diff)
downloadforums-41b4fee6557c34d9ff534e7c1693d4e84e166ce1.tar
forums-41b4fee6557c34d9ff534e7c1693d4e84e166ce1.tar.gz
forums-41b4fee6557c34d9ff534e7c1693d4e84e166ce1.tar.bz2
forums-41b4fee6557c34d9ff534e7c1693d4e84e166ce1.tar.xz
forums-41b4fee6557c34d9ff534e7c1693d4e84e166ce1.zip
[ticket/14345] Move new line to ternary comparison
PHPBB3-14345
Diffstat (limited to 'phpBB/phpbb/install/helper/iohandler')
-rw-r--r--phpBB/phpbb/install/helper/iohandler/cli_iohandler.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php b/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
index dae5d339a5..4d0341ef12 100644
--- a/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
+++ b/phpBB/phpbb/install/helper/iohandler/cli_iohandler.php
@@ -126,7 +126,7 @@ class cli_iohandler extends iohandler_base
$this->io->newLine();
$message = $this->translate_message($error_title, $error_description);
- $message_string = $message['title'] . "\n" . (!empty($message['description']) ? $message['description'] : '');
+ $message_string = $message['title'] . (!empty($message['description']) ? "\n" . $message['description'] : '');
$this->io->error($message_string);
if ($this->progress_bar !== null)
@@ -144,7 +144,7 @@ class cli_iohandler extends iohandler_base
$this->io->newLine();
$message = $this->translate_message($warning_title, $warning_description);
- $message_string = $message['title'] . "\n" . (!empty($message['description']) ? $message['description'] : '');
+ $message_string = $message['title'] . (!empty($message['description']) ? "\n" . $message['description'] : '');
$this->io->warning($message_string);
if ($this->progress_bar !== null)
@@ -174,7 +174,7 @@ class cli_iohandler extends iohandler_base
$this->io->newLine();
$message = $this->translate_message($error_title, $error_description);
- $message_string = $message['title'] . "\n" . (!empty($message['description']) ? $message['description'] : '');
+ $message_string = $message['title'] . (!empty($message['description']) ? "\n" . $message['description'] : '');
$this->io->success($message_string);
if ($this->progress_bar !== null)