diff --git a/phpBB/install/startup.php b/phpBB/install/startup.php index 02d5038836..f3312d227d 100644 --- a/phpBB/install/startup.php +++ b/phpBB/install/startup.php @@ -57,7 +57,7 @@ function installer_msg_handler($errno, $msg_text, $errfile, $errline) } // If the message handler is stripping text, fallback to the long version if available - if (isset($msg_long_text) && $msg_long_text && !$msg_text) + if (!$msg_text && !empty($msg_long_text)) { $msg_text = $msg_long_text; }