ソースを参照

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