[BUGFIX] Type checking at PageRepository::getFileReferences() call 80/36480/7
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:24:25 +0000 (23:24 +0200)
commitc52269d82343907010374882b5faefa677bc569c
tree99bb335ac9ac9d7a570546c844c9e56d98854dc8
parentb6137d46ca4c18b5d8e19def7df53618cdef00f9
[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/36480
Reviewed-by: Frank Nägler <typo3@naegler.net>
Tested-by: Frank Nägler <typo3@naegler.net>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/ContentObject/FilesContentObject.php