[BUGFIX] BELog module error: "vsprintf(): Too few arguments"
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Error / AbstractExceptionHandler.php
index 024741f..64ee9a7 100644 (file)
@@ -117,7 +117,7 @@ abstract class AbstractExceptionHandler implements \TYPO3\CMS\Core\Error\Excepti
                                'action' => 0,
                                'error' => 2,
                                'details_nr' => 0,
-                               'details' => $logMessage,
+                               'details' => str_replace('%', '%%', $logMessage),
                                'IP' => \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('REMOTE_ADDR'),
                                'tstamp' => $GLOBALS['EXEC_TIME'],
                                'workspace' => $workspace
@@ -149,4 +149,4 @@ abstract class AbstractExceptionHandler implements \TYPO3\CMS\Core\Error\Excepti
 }
 
 
-?>
\ No newline at end of file
+?>