[TYPO3-core] RFC: Remove empty label tags

Karsten Dambekalns karsten at typo3.org
Wed Jan 11 20:01:28 CET 2006


Hi.

On Tuesday 10 January 2006 15:17, Michael Stucki wrote:
> Change the list of excluded types into a preg_match list and add "comment"
> and "hidden" to the list.

<nitpicking>
Why preg_match? IMHO this
 !in_array($confData['type'], array('radio','label','hidden','comment'))
does the same as your
 !preg_match('/^(radio|label|hidden|comment)$/',$confData['type'])
and should/might be faster still.
</nitpicking>

Otherwise +1

Karsten
-- 
Karsten Dambekalns
TYPO3 Association - Active Member
http://association.typo3.org/



More information about the TYPO3-team-core mailing list