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

Stefan Geith typo3dev2008.nospam1 at geithware.de
Mon Jan 21 10:02:54 CET 2008


Martin Kutschker schrieb:
> 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

Yes, you're right: thats better.

New Patch attached, also added to bugtracker.

Hope, this gets committed soon :)

-

Stefan

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0007202b_debug_empty_array.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080121/53d2b341/attachment.txt 


More information about the TYPO3-team-core mailing list