[BUGFIX] Remove markup from FlashMessage 47/47847/2
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 22 Apr 2016 09:35:21 +0000 (11:35 +0200)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 22 Apr 2016 10:27:40 +0000 (12:27 +0200)
Resolves: #75859
Releases: master, 7.6
Change-Id: I43f786c349a096e752e5fdeb50b815b19e548924
Reviewed-on: https://review.typo3.org/47844
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Daniel Goerz <ervaude@gmail.com>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
(cherry picked from commit e3502e7e352f7b482fd42462ab4ff693fa12c190)
Reviewed-on: https://review.typo3.org/47847

typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractItemProvider.php

index e682a6e..c685f05 100644 (file)
@@ -422,7 +422,7 @@ abstract class AbstractItemProvider
         // Early return on error with flash message
         $databaseError = $database->sql_error();
         if (!empty($databaseError)) {
-            $msg = htmlspecialchars($databaseError) . '<br />' . LF;
+            $msg = $databaseError . '. ';
             $msg .= $languageService->sL('LLL:EXT:lang/locallang_core.xlf:error.database_schema_mismatch');
             $msgTitle = $languageService->sL('LLL:EXT:lang/locallang_core.xlf:error.database_schema_mismatch_title');
             /** @var $flashMessage FlashMessage */