mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
* Addressbook: fixed not working resize or conversation of non-jpeg images in newer php versions
This commit is contained in:
parent
4df861dde7
commit
52db5c23fc
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user