From: Alexander Ebert Date: Sun, 20 May 2012 18:10:24 +0000 (+0200) Subject: Fixed parameter type (compatibility with PHP 5.4) X-Git-Tag: 2.0.0_Beta_1~1102 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6da905f4012b508db87d650c4430fdeb1849ff61;p=GitHub%2FWoltLab%2FWCF.git Fixed parameter type (compatibility with PHP 5.4) --- 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();