From 52db5c23fca213634a24d74a8c97977f5b1d7048 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 17 Jul 2012 13:17:57 +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 f8cb49fb57..d8cc7b5a58 100755 --- a/addressbook/inc/class.addressbook_bo.inc.php +++ b/addressbook/inc/class.addressbook_bo.inc.php @@ -967,7 +967,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();