From: Andreas Unterkircher Date: Sat, 28 Jul 2007 05:51:18 +0000 (+0000) Subject: issue68, fixed time-ranges for search X-Git-Tag: phpfspot-1.2~78 X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=commitdiff_plain;h=75c89a74975ca98d3329f73bc6a7d50ed7009d3d issue68, fixed time-ranges for search git-svn-id: file:///var/lib/svn/phpfspot/trunk@257 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- diff --git a/phpfspot.class.php b/phpfspot.class.php index e5954ce..86235ac 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -564,8 +564,8 @@ class PHPFSPOT { $matched_photos = Array(); if(isset($_SESSION['from_date']) && isset($_SESSION['to_date'])) { - $from_date = strtotime($_SESSION['from_date']); - $to_date = strtotime($_SESSION['to_date']); + $from_date = strtotime($_SESSION['from_date'] ." 00:00:00"); + $to_date = strtotime($_SESSION['to_date'] ." 23:59:59"); $additional_where_cond = " p.time>='". $from_date ."' AND