[BUGFIX] Fix empty href parameter 89/22789/6
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 3 Aug 2013 13:38:46 +0000 (15:38 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 5 Aug 2013 21:00:32 +0000 (23:00 +0200)
commitba9e4530a025e802d6f62ca9b5861c128458a6b3
tree3068577ebee226cddefe509addeef30a52cf45e7
parentba066157fa8f61932e6bfd45aa46e18f7a668992
[BUGFIX] Fix empty href parameter

In case the link target is not available (maybe hidden), the behaviour
known from the Core is to render the link text, but no a tag. The pageVH
renders the link, but the href parameter will be empty.

Resolves: #50751
Releases: 6.2, 6.1, 6.0
Change-Id: I526aa0e3d42f8aba867b3f996bac2366dc1f6d19
Reviewed-on: https://review.typo3.org/22789
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/fluid/Classes/ViewHelpers/Link/PageViewHelper.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/PageViewHelperTest.php [new file with mode: 0644]