[TYPO3-core] RFC: #12207: $this->doc->sectionHeader return wrong HTML

Christian Kuhn lolli at schwarzbu.ch
Mon Oct 12 22:28:01 CEST 2009


Hey,

Steffen Kamper wrote:
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12207
> 
> Branches: Trunk
> 
> template::sectionHeader($label, $sH=FALSE, $addAttrib='')
> 
> returns wrong HTML if $addAttrib doesn't start with a space.
> It's easy to add a check for it, so HTML is always valid.

+1 on reading and testing.

I'd personally just always add a space and save the if ;)

Thanks
Christian


More information about the TYPO3-team-core mailing list