mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
* Addressbook: fixed not working resize or conversation of non-jpeg images in newer php versions
This commit is contained in:
parent
f8ae428f32
commit
a8d1376205
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user