[BUGFIX] UnableToLinkException::getLinkText() must be of the type string, null returned 99/57999/2
authorGerald Aistleitner <g.aistleitner@siwa.at>
Thu, 23 Aug 2018 06:28:58 +0000 (08:28 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 23 Aug 2018 10:43:54 +0000 (12:43 +0200)
commit0bc8754782616d637e40b23aecac64ce2ba3c5ad
treee34e5b0f99bac87372baf03e61c50d525e3c12bc
parente8b3918dbaa4324606e941e5596bbfdcab9c4c6f
[BUGFIX] UnableToLinkException::getLinkText() must be of the type string, null returned

Changed the default value of linkText to '' instead of null to prevent strict_type throwing an error.

Resolves: #85933
Releases: master, 8.7
Change-Id: I0a7567cd784360654649c11e686784ad3867858d
Reviewed-on: https://review.typo3.org/57999
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/Typolink/UnableToLinkException.php