Browse Source

Update Image Util

Daniel Supernault 5 years ago
parent
commit
0b7c5d6d37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Util/Media/Image.php

+ 1 - 1
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",