From a7eb5dda4c46996c249497387dc3b0934442afff Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 25 Feb 2016 22:40:42 +0100 Subject: [PATCH] Some minor fixes --- wcfsetup/install/files/lib/core.functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/core.functions.php b/wcfsetup/install/files/lib/core.functions.php index 275316d324..b46c6e0c7a 100644 --- a/wcfsetup/install/files/lib/core.functions.php +++ b/wcfsetup/install/files/lib/core.functions.php @@ -97,7 +97,7 @@ namespace wcf\functions\exception { function printThrowable($e) { $logFile = WCF_DIR . 'log/' . gmdate('Y-m-d', TIME_NOW) . '.txt'; - $exceptionID = logThrowable($logFile, $e); // TODO + $exceptionID = logThrowable($logFile, $e); $exceptionTitle = $exceptionSubtitle = $exceptionExplanation = ''; $logFile = sanitizePath($logFile); @@ -116,7 +116,7 @@ namespace wcf\functions\exception { if (!$exceptionTitle || !$exceptionSubtitle || !$exceptionExplanation) { // one or more failed, fallback to english $exceptionTitle = 'An error has occured'; - $exceptionSubtitle = 'Internal error code: {$exceptionID}'; + $exceptionSubtitle = 'Internal error code: '.$exceptionID.''; $exceptionExplanation = <<What happened?

An error has occured while trying to handle your request and execution has been terminated. Please forward the above error code to the site administrator.

-- 2.20.1