From: Alexander Ebert Date: Thu, 25 Feb 2016 21:40:42 +0000 (+0100) Subject: Some minor fixes X-Git-Tag: 3.0.0_Beta_1~2030^2~81 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a7eb5dda4c46996c249497387dc3b0934442afff;p=GitHub%2FWoltLab%2FWCF.git Some minor fixes --- 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.