Update Image util

This commit is contained in:
Daniel Supernault 2019-08-17 01:46:34 -06:00
parent e43663c93f
commit 3d53661b18
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -131,7 +131,7 @@ class Image
$quality = config('pixelfed.image_quality'); $quality = config('pixelfed.image_quality');
$img->save($newPath, $quality); $img->save($newPath, $quality);
$img->destroy();
if (!$thumbnail) { if (!$thumbnail) {
$media->orientation = $orientation; $media->orientation = $orientation;
} }