[BUGFIX] Allow attribute value "0" in EXT:form elements 43/35443/2
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 14 Feb 2012 12:17:20 +0000 (13:17 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 14 Dec 2014 19:47:31 +0000 (20:47 +0100)
commit18e31a7026d96d45d94c8706dde018a6898f6fac
treefa2c05186c8a5b1d5d78dcadb55bd4ac1cb166a2
parentbd582d305c51941fa893bc2966d4308efabfc055
[BUGFIX] Allow attribute value "0" in EXT:form elements

If an attribute value of "0" is set in an EXT:form element (e.g.
TEXTLINE) currently the input element in the frontend is rendered with
an empty value "".

Do not check attribute values with empty() to allow "0" values.

Resolves: #31920
Releases: master, 6.2
Change-Id: I624c7da38c23429f68000e085dbd82c23fb7e834
Reviewed-on: http://review.typo3.org/35443
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/form/Classes/Domain/Factory/TypoScriptFactory.php
typo3/sysext/form/Classes/View/Confirmation/Element/AbstractElementView.php
typo3/sysext/form/Classes/View/Form/Element/AbstractElementView.php
typo3/sysext/form/Classes/View/Mail/Html/Element/AbstractElementView.php