From 316c1039fbba8f10d6dcbef6ffbafb4890df4bdf Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Fri, 11 Apr 2014 11:06:14 +0200 Subject: [PATCH] Fixed get Photo (#115) --- php/modules/Photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/modules/Photo.php b/php/modules/Photo.php index c689a53..beeeae9 100755 --- a/php/modules/Photo.php +++ b/php/modules/Photo.php @@ -37,7 +37,7 @@ class Photo extends Module { # Parse photo $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') {