Fixed wrong modified date of the photo files
This commit is contained in:
parent
a00928f9de
commit
47c60a4943
@ -161,7 +161,7 @@ class Photo extends Module {
|
||||
}
|
||||
|
||||
# Set original date
|
||||
if ($info['takestamp']!=='') @touch($path, $info['takestamp']);
|
||||
if ($info['takestamp']!==''&&$info['takestamp']!==0) @touch($path, $info['takestamp']);
|
||||
|
||||
# Create Thumb
|
||||
if (!$this->createThumb($path, $photo_name)) {
|
||||
|
Loading…
Reference in New Issue
Block a user