From 0b7c5d6d377e70dd34951352fcbd8d8b42a0fc71 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 31 Jan 2020 19:53:33 -0700 Subject: [PATCH] Update Image Util --- app/Util/Media/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Util/Media/Image.php b/app/Util/Media/Image.php index 96d91b944..4cbfaca16 100644 --- a/app/Util/Media/Image.php +++ b/app/Util/Media/Image.php @@ -118,7 +118,7 @@ class Image $constraint->aspectRatio(); }); } else { - if(config('media.exif.database', false) == true) { + if(config('media.exif.database', false) == true && $metadata) { $meta = []; $keys = [ "COMPUTED",