Uploading of new photos now fully working.

This commit is contained in:
Aaron committed 2017-11-09 17:00:35 +01:00
1 parent 77a9cd5d53
commit 790d5fc5d0
5 files changed
+81 -32

No files matched your search

+1 -1
View File
@@ -194,7 +194,7 @@ class Asset
unset($image);
$exif = EXIF::fromFile($destination);
$date_captured = intval($exif->created_timestamp);
$date_captured = $exif->created_timestamp > 0 ? $exif->created_timestamp : time();
}
$db = Registry::get('db');