1
0
Daniel Supernault 5 жил өмнө
parent
commit
0b7c5d6d37

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