sitegeist / sms-responsive-images

This TYPO3 extension provides ViewHelpers and configuration to render valid responsive images based on TYPO3's image cropping tool.
GNU General Public License v2.0
34 stars 19 forks source link

Fix array usage of ResponsiveImagesUtility::hasIgnoredFileExtension() #39

Closed jdreesen closed 6 years ago

jdreesen commented 6 years ago

Previously, the result of is_array($ignoreFileExtensions) was used as the new value of $ignoreFileExtensions in case the parameter was an array, which would break the following in_array(...) statement.

s2b commented 6 years ago

Good catch, thanks!