소스 검색

Update Image Util

Daniel Supernault 5 년 전
부모
커밋
0b7c5d6d37
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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",