From 60d298db6dc3f5c9e60fcf679526f6099f737065 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sat, 26 Apr 2014 16:48:40 +0200 Subject: [PATCH] Fixed incorrect integer value (#140) --- php/modules/Photo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/modules/Photo.php b/php/modules/Photo.php index ade0c7e..7b77a4a 100755 --- a/php/modules/Photo.php +++ b/php/modules/Photo.php @@ -441,7 +441,7 @@ class Photo extends Module { $return['model'] = ''; $return['shutter'] = ''; $return['focal'] = ''; - $return['takestamp'] = ''; + $return['takestamp'] = 0; # Read EXIF if ($info['mime']=='image/jpeg') $exif = @exif_read_data($url, 'EXIF', 0); @@ -745,4 +745,4 @@ class Photo extends Module { } -?> \ No newline at end of file +?>