[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:02:35 +0000 (11:02 +0200)
commitacfa3ca029f429ac64bfce94c6f535e4c7690fb5
tree7c594b8c916a9134ede5698f1cf198c17b770af4
parent7691eacfc51fd1aeed827ffba6b393f531d5cef0
[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: I4e328db1b78975a7baed386a316dc50f00a0ac40
Resolves: #28085
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/3238
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
t3lib/class.t3lib_div.php