znt/lib/patches/phpthumb-fix-options-array-initialization.patch

12 lines
302 B
Diff

--- a/vendor/masterexploder/phpthumb/src/PHPThumb/GD.php
+++ b/vendor/masterexploder/phpthumb/src/PHPThumb/GD.php
@@ -56,7 +56,7 @@
*
* @var array
*/
- protected $options;
+ protected $options = [];
/**
* The maximum width an image can be after resizing (in pixels)