Browse Source

Fixed incorrect integer value (#140)

Tobias Reich 10 years ago
parent
commit
60d298db6d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      php/modules/Photo.php

+ 2 - 2
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 {
 
 }
 
-?>
+?>