Fixed wrong modified date of the photo files

This commit is contained in:
Tobias Reich 2014-10-08 22:55:36 +02:00
parent a00928f9de
commit 47c60a4943

View File

@ -161,7 +161,7 @@ class Photo extends Module {
} }
# Set original date # Set original date
if ($info['takestamp']!=='') @touch($path, $info['takestamp']); if ($info['takestamp']!==''&&$info['takestamp']!==0) @touch($path, $info['takestamp']);
# Create Thumb # Create Thumb
if (!$this->createThumb($path, $photo_name)) { if (!$this->createThumb($path, $photo_name)) {