[BUGFIX] target to page object must set type parameter 52/47452/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 09:22:23 +0000 (11:22 +0200)
commita4dabc5801e88b21ba3f404943aa239adb46f9e0
tree9545dec917381ad191fd14d69b4274b58806113a
parent56d48602be0e46b2569f421927f0fc71f4d5e726
[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/47452
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php