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

Ingmar Schlecht ingmar at typo3.org
Thu Jan 31 12:09:51 CET 2008


As this is a nobrainer, it's ready for commit. Someone who's committing 
something today anyway may please commit this one as well.

- Ingmar

Stefan Geith schrieb:
> 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
> 


-- 
Ingmar Schlecht
TYPO3 Association Active Member


More information about the TYPO3-team-core mailing list