Fixed get Photo (#115)

This commit is contained in:
Tobias Reich 2014-04-11 11:06:14 +02:00
parent 8c5ccf640b
commit 316c1039fb

View File

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