* 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:57 +00:00
parent 4df861dde7
commit 52db5c23fc

View File

@ -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();