Explorar el Código

Update Image Util

Daniel Supernault hace 5 años
padre
commit
0b7c5d6d37
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Util/Media/Image.php

+ 1 - 1
app/Util/Media/Image.php

@@ -118,7 +118,7 @@ class Image
 					$constraint->aspectRatio();
 					$constraint->aspectRatio();
 				});
 				});
 			} else {
 			} else {
-				if(config('media.exif.database', false) == true) {
+				if(config('media.exif.database', false) == true && $metadata) {
 					$meta = [];
 					$meta = [];
 					$keys = [
 					$keys = [
 						"COMPUTED",
 						"COMPUTED",