Fixed parameter type (compatibility with PHP 5.4)
authorAlexander Ebert <ebert@woltlab.com>
Sun, 20 May 2012 18:10:24 +0000 (20:10 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 20 May 2012 18:10:24 +0000 (20:10 +0200)
wcfsetup/install/files/lib/system/image/adapter/GDImageAdapter.class.php

index 71bfb26b69851fb991e1dcdf2d88394c94b30cd1..4d6283f19a4f7bd46d9e7074944626dc79427bd7 100644 (file)
@@ -210,7 +210,7 @@ class GDImageAdapter implements IImageAdapter {
                        imagePNG($image);
                }
                else if (function_exists('imageJPEG')) {
-                       imageJPEG($image, '', 90);
+                       imageJPEG($image, null, 90);
                }
                
                $stream = ob_get_contents();