[BUGFIX] t3lib_div::debugRows doesn't return data
authorSebastian Michaelsen <sebastian.gebhard@googlemail.com>
Mon, 11 Jul 2011 08:48:40 +0000 (10:48 +0200)
committerXavier Perseguers <typo3@perseguers.ch>
Mon, 11 Jul 2011 09:40:07 +0000 (11:40 +0200)
commitcdf6916d14b199eec9eda491b3d21663c02ecba4
treee5f6224d85a4fd9bb14c69f6f9dcbe1f75a829e6
parentbb0b07533930137302ded73f97384668b5004d9d
[BUGFIX] t3lib_div::debugRows doesn't return data

In TYPO3 4.5 t3lib_div::debugRows() was deprecated
and moved to t3lib_utility_Debug::debugRows().
The problem is, that t3lib_utility_Debug::debugRows()
is just called but not returned, despite the fact
that debugRows() offers an option $returnHTML to
return an HTML table.
So in the (a bit unlikely) case someone relies on
values returned by t3lib_div::debugRows(), 4.5 broke
his code.

Adding a simple "return" will solve this problem.

Change-Id: I237b68ad4809df9ad9718f9fd1d8842e60c7d21c
Resolves: #28085
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3240
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
t3lib/class.t3lib_div.php