[BUGFIX] Return empty result in pagination if page does not exist
authordkd-egerer Sascha Egerer <sascha.egerer@dkd.de>
Fri, 13 Apr 2012 14:56:41 +0000 (16:56 +0200)
committerMarc Bastian Heinrichs <heinrichs@mbh-web.de>
Fri, 13 Apr 2012 14:56:41 +0000 (16:56 +0200)
commit74cd10af0c46fd9ac7b7bc366efa88f07cb40efb
tree27c0722e4ba1623b2ba475ad73f7d3a4bf693004
parentc34bf90785d2e0905afeca298f676216e076f66f
[BUGFIX] Return empty result in pagination if page does not exist

The pagination widget does currently return the content of the
latest page if the requestet page is higher than the available page.

This patch changes this behavior so that an empty result is returned
for non existing pages.

Change-Id: Iadde1951e70ef5ddfbdc9830cb3121594862f700
Fixes: #33033
Releases: master, 4.7, 1.4, 1.3
typo3/sysext/fluid/Classes/ViewHelpers/Widget/Controller/PaginateController.php