diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-01-05 15:53:53 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-01-05 15:53:53 +0100 |
commit | 3face190fc281981026fe48fb80cea007a2e841b (patch) | |
tree | 67affa1e974e550ee0debcefa80af235ddaabb6f /phpfspot.class.php | |
parent | 915550abc6a1c0e85620162927119b0e69bb7a42 (diff) |
issue91, also when using external url to show a photo, set correct timerange
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r-- | phpfspot.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index a14c4f6..0ce7393 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -165,10 +165,10 @@ class PHPFSPOT { $_SESSION['start_action'] = 'showp'; } if(isset($_GET['from_date']) && $this->isValidDate($_GET['from_date'])) { - $_SESSION['from_date'] = strtotime($_GET['from_date']); + $_SESSION['from_date'] = strtotime($_GET['from_date'] ." 00:00:00"); } if(isset($_GET['to_date']) && $this->isValidDate($_GET['to_date'])) { - $_SESSION['to_date'] = strtotime($_GET['to_date']); + $_SESSION['to_date'] = strtotime($_GET['to_date'] ." 23:59:59"); } break; case 'export': |