summaryrefslogtreecommitdiffstats
path: root/phpfspot.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r--phpfspot.class.php4
1 files 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