[BUGFIX] Fix using doc instance in be.pageInfoVH
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Mon, 29 Apr 2013 07:55:50 +0000 (09:55 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 29 Apr 2013 19:02:24 +0000 (21:02 +0200)
commit2c0c431363d6bb50389e3bc14441616c25a66ad6
treed1c13702c375cd2d6b65917df974928c453e294f
parente70724d31aca529a7294b19b01306b788094ac50
[BUGFIX] Fix using doc instance in be.pageInfoVH

Since the merge of https://review.typo3.org/#/c/19000/
$GLOBALS['SOBE']->doc is not always set. Use the doc
object, which is returned from call $this->getDocInstance instead.

Change-Id: I5d254e115b73a898a12c48ebbe32fb4320934b35
Fixes: #47556
Releases: 4.7, 1.3
Related: #40519
Reviewed-on: https://review.typo3.org/20287
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/fluid/Classes/ViewHelpers/Be/PageInfoViewHelper.php