From 75c89a74975ca98d3329f73bc6a7d50ed7009d3d Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Sat, 28 Jul 2007 05:51:18 +0000 Subject: [PATCH] issue68, fixed time-ranges for search git-svn-id: file:///var/lib/svn/phpfspot/trunk@257 fa6a889d-dae6-447d-9e79-4ba9a3039384 --- phpfspot.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1