* 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:42 +00:00
parent 8251977fed
commit 930ad77224

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