[BUGFIX] Type checking at PageRepository::getFileReferences() call 05/39905/2
authorAlina Fleser <afleser@arxia.com>
Fri, 30 Jan 2015 22:17:25 +0000 (00:17 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Tue, 2 Jun 2015 21:25:02 +0000 (23:25 +0200)
commitf6fba02cde60e96abf1c4fe255dae0a40fa56bd1
treeb8acae3b5f85c1d431165f5e06484914209d23c1
parent02d54691fc808c4c4a70b61967f7ee11ec9ccaeb
[BUGFIX] Type checking at PageRepository::getFileReferences() call

Verification of parent element ($element) type before
PageRepository::getFileReferences() call
in FilesContentObject::handleFileReferences
to avoid PHP error in case of null value

Resolves: #64239
Resolves: #62616
Releases: master, 6.2
Change-Id: I8b89710af97eb37eee9518392e89ddeceb5b9f57
Reviewed-on: http://review.typo3.org/39905
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/ContentObject/FilesContentObject.php