[BUGFIX] Prevent error if getimagesize() fails 49/42649/2
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 15 Aug 2015 16:48:25 +0000 (18:48 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Sun, 16 Aug 2015 14:13:57 +0000 (16:13 +0200)
commit7ac473752e009a888ec22ca6e50107e18a811d34
treed0ec4fcff56e6caa2ac33bf60c209a8481362b96
parent891ddd2c4db9ce333ff7fd44b62a734e778042f1
[BUGFIX] Prevent error if getimagesize() fails

Upon failure getimagesize() returns FALSE instead of image-dimensions.
Handle that case cleanly.

Change-Id: I8dcd98c842aaa01f572002a6e9c86ea889de6b1b
Resolves: #59528
Releases: 6.2
Reviewed-on: http://review.typo3.org/42649
Reviewed-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Tested-by: Alexander Schnitzler <typo3@alexanderschnitzler.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Resource/Service/IndexerService.php