Fixed wrong capture date in InfoBox

This commit is contained in:
Tobias Reich 2014-04-13 12:35:59 +02:00
parent 5d7ff21c50
commit 6c3d16e9b1

View File

@ -339,7 +339,7 @@ class Photo extends Module {
# Parse photo
$photo['sysdate'] = date('d M. Y', substr($photo['id'], 0, -4));
if (strlen($photo['takestamp'])>0) $photo['takedate'] = date('d M. Y', $photo['takestamp']);
if (strlen($photo['takestamp'])>1) $photo['takedate'] = date('d M. Y', $photo['takestamp']);
if ($albumID!='false') {