From 6da905f4012b508db87d650c4430fdeb1849ff61 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 20 May 2012 20:10:24 +0200 Subject: [PATCH] Fixed parameter type (compatibility with PHP 5.4) --- .../files/lib/system/image/adapter/GDImageAdapter.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/image/adapter/GDImageAdapter.class.php b/wcfsetup/install/files/lib/system/image/adapter/GDImageAdapter.class.php index 71bfb26b69..4d6283f19a 100644 --- a/wcfsetup/install/files/lib/system/image/adapter/GDImageAdapter.class.php +++ b/wcfsetup/install/files/lib/system/image/adapter/GDImageAdapter.class.php @@ -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(); -- 2.20.1