[BUGFIX] target to page object must set type parameter 76/47376/2
authorJigal van Hemert <jigal.van.hemert@typo3.org>
Wed, 23 Mar 2016 21:30:57 +0000 (22:30 +0100)
committerSusanne Moog <typo3@susannemoog.de>
Thu, 31 Mar 2016 08:25:05 +0000 (10:25 +0200)
commite0e08e0f60a05fd260625527fb6a5394f9c785bf
tree8a2cfcead84ce343dfb441764c4b27a365aef11c
parent81b0bb0387ea86efd66808547456621b403f8891
[BUGFIX] target to page object must set type parameter

Setting typolink.target to the name of a page object must set the
type query parameter to the typeNum of that page object. By initializing
$theTypeP to an empty string the type is not forced to zero.

Resolves: #75245
Releases: master, 7.6
Change-Id: I3aac0e43849f495f00344a07a358c5526bdf339c
Reviewed-on: https://review.typo3.org/47376
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php