[BUGFIX] Fix namespace declaration for checkboxes in plain form mails 29/52229/3
authorRonny Sternecker <ronny.sternecker@gmail.com>
Wed, 29 Mar 2017 06:50:53 +0000 (08:50 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Wed, 29 Mar 2017 07:04:55 +0000 (09:04 +0200)
In system extension form emails from form data are generated by a
PostProcessor. The partial for checkbox elements on plain text mails
missed a preliminary blancket in namespace declaration
(first character in this file). This bracket is added.

Resolves: #80518
Releases: 7.6
Change-Id: Ib3b4e27d645d86c4dc75a0da66c86ebb48f0242a
Reviewed-on: https://review.typo3.org/52229
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/form/Resources/Private/Partials/Default/PostProcessor/Mail/Plain/FlatElements/Checkbox.html

index 574e19a..29119c7 100644 (file)
@@ -1 +1 @@
-namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.showElement}"><f:if condition="{model.additionalArguments.checked} == 'checked'"><form:plainMail labelContent="{model}" content="{model.additionalArguments.value}" /></f:if></f:if>
+{namespace form=TYPO3\CMS\Form\ViewHelpers}<f:if condition="{model.showElement}"><f:if condition="{model.additionalArguments.checked} == 'checked'"><form:plainMail labelContent="{model}" content="{model.additionalArguments.value}" /></f:if></f:if>