symphonycms / jit_image_manipulation

Just in Time Image Manipulation for Symphony CMS
http://symphonyextensions.com/extensions/jit_image_manipulation/
Other
25 stars 42 forks source link

Fix behaviour for empty external responses #167

Open michael-e opened 5 years ago

michael-e commented 5 years ago

The file_put_contents function will return 0 if empty content is written, but this should not trigger a writing exception. Empty content should throw an exception before, when checking the curl response.

Fixes #164