[BUGFIX] stdWrap numRows fails due to wrong SELECT clause
authorErnesto Baschny <ernst@cron-it.de>
Tue, 17 Jul 2012 16:03:03 +0000 (18:03 +0200)
committerErnesto Baschny <ernst@cron-it.de>
Mon, 23 Jul 2012 10:30:15 +0000 (12:30 +0200)
commit481d1ffaf3b8a444d2823aba36fa697ad63a9bf6
tree2565d608455b642806e236d32197e326e9acd31f
parent242fd39ee023207ce162a87dd25a60c0c8834431
[BUGFIX] stdWrap numRows fails due to wrong SELECT clause

Exclude aggregate functions count(), sum(), max(),
min(), avg() in if statement inside
tslib_cObj::sanitizeSelectPart().

Change-Id: I5d8cd5f00472b417dad3c8790b1cc75f3cfd473a
Fixes: #34152
Releases: 4.5, 4.6, 4.7, 6.0
Reviewed-on: http://review.typo3.org/9158
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Alain
Tested-by: Alain
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
typo3/sysext/cms/tests/tslib/class.tslib_contentTest.php
typo3/sysext/cms/tslib/class.tslib_content.php