From a8d1376205e62dba888271bd0cd088fc64379fcf Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 17 Jul 2012 13:17:19 +0000 Subject: [PATCH] * Addressbook: fixed not working resize or conversation of non-jpeg images in newer php versions --- addressbook/inc/class.addressbook_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_bo.inc.php b/addressbook/inc/class.addressbook_bo.inc.php index 0f0a590611..0f20670002 100755 --- a/addressbook/inc/class.addressbook_bo.inc.php +++ b/addressbook/inc/class.addressbook_bo.inc.php @@ -968,7 +968,7 @@ class addressbook_bo extends addressbook_so imagecopyresized($resized,$image,0,0,0,0,$dst_w,$dst_h,$src_w,$src_h); ob_start(); - imagejpeg($resized,'',90); + imagejpeg($resized,null,90); $photo = ob_get_contents(); ob_end_clean();