* Addressbook: fixed not working resize or conversation of non-jpeg images in newer php versions

This commit is contained in:
Ralf Becker 2012-07-17 13:17:19 +00:00
parent f8ae428f32
commit a8d1376205

View File

@ -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); imagecopyresized($resized,$image,0,0,0,0,$dst_w,$dst_h,$src_w,$src_h);
ob_start(); ob_start();
imagejpeg($resized,'',90); imagejpeg($resized,null,90);
$photo = ob_get_contents(); $photo = ob_get_contents();
ob_end_clean(); ob_end_clean();