Index: typo3/sysext/form/Classes/View/Mail/Html/Element/AbstractElementView.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- typo3/sysext/form/Classes/View/Mail/Html/Element/AbstractElementView.php (revision )
+++ typo3/sysext/form/Classes/View/Mail/Html/Element/AbstractElementView.php (revision )
@@ -124,10 +124,8 @@
}
break;
case 'inputvalue':
- if (array_key_exists('checked', $this->model->getAllowedAttributes())) {
- if (!$this->model->hasAttribute('checked')) {
+ if (array_key_exists('checked', $this->model->getAllowedAttributes()) && !$this->model->hasAttribute('checked')) {
$emptyElement = TRUE;
- }
} elseif (array_key_exists('selected', $this->model->getAllowedAttributes()) && !$this->model->hasAttribute('selected')) {
$emptyElement = TRUE;
} else {
\ No newline at end of file