From 5a40eb901c62703941792679a0f60a787db49ec8 Mon Sep 17 00:00:00 2001 From: cbeauchesne Date: Wed, 16 Oct 2019 18:50:49 +0200 Subject: [PATCH] Fix image upload #813 --- src/js/upload-file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/upload-file.js b/src/js/upload-file.js index 6084171047..5601b8077e 100644 --- a/src/js/upload-file.js +++ b/src/js/upload-file.js @@ -106,7 +106,7 @@ const uploadFile = function(file, onDataUrlReady, onUploadProgress, onSuccess, o const parseMetaData = function(metaData) { const exif = metaData.exif ? metaData.exif.getAll() : null; - const iptc = metaData.exif ? metaData.iptc.getAll() : null; + const iptc = metaData.iptc ? metaData.iptc.getAll() : null; let orientation = 0; setIfDefined(document, 'date_time', parseDate(exif, iptc));