[BUGFIX] Do not overlay version on empty row 89/43189/4
authorAlexander Opitz <opitz.alexander@googlemail.com>
Fri, 11 Sep 2015 09:58:15 +0000 (11:58 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 18 Oct 2015 19:58:14 +0000 (21:58 +0200)
commit4012b988b9f6905429eabd1f1a44adc57b1c95f6
tree66cc526e779563ad49a391c2fe875e3b15b58946
parentf7663d1861bf2ac57fee92614918f22feb0b4fed
[BUGFIX] Do not overlay version on empty row

This resolves a problem introduced by issue #33436. We do not need to
do a version overlay, if we already get the page via getPage(), as it
will be overlayed already. getPage() can return an empty row breaking
a following versionOL().

Resolves: #69642
Related: #33436
Releases: master
Change-Id: Idd53af0a3072b8d2d1539096415e3e406794d54b
Reviewed-on: http://review.typo3.org/43189
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Andreas Bouche <andreas.bouche@flagbit.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/frontend/Classes/ContentObject/Menu/AbstractMenuContentObject.php