[BUGFIX] UnableToLinkException::getLinkText() must be of the type string, null returned 95/57995/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 09:57:49 +0000 (11:57 +0200)
commit8fd7b9c963511a65f24c72c14b7a286f5168a07d
treedec9b6bb3f3352815b9fb83cd926e64ed6cfd002
parentaf0a9502f3a9e4a4a53f36350fe3666dc827c407
[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/57995
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Kummer <typo3@enobe.de>
Tested-by: Joerg Kummer <typo3@enobe.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/Typolink/UnableToLinkException.php