[TYPO3-core] RFC: Bug #7202: Debug renders wrong table with empty arrays

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Fri Jan 18 14:57:31 CET 2008


Stefan Geith schrieb:
> This is a SVN patch request.
> 
> Problem:
> t3lib_div::debug($a) has errors in rendered Table, if $a is an empty Array:
> A closing </table> Tag is then missing.
> 
> Solution:
> Add </table> tag to 'empty'-message

Please add a "$result.= '</table>';" after the if/else part. This is more 
readable because then the open/closing tags surround the if/else.

Masi


More information about the TYPO3-team-core mailing list