projects
/
phpfspot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66fc274
)
issue91, corrected time-range handling
author
Andreas Unterkircher
<unki@netshadow.at>
Sat, 5 Jan 2008 14:42:53 +0000
(15:42 +0100)
committer
Andreas Unterkircher
<unki@netshadow.at>
Sat, 5 Jan 2008 14:42:53 +0000
(15:42 +0100)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
phpfspot.class.php
patch
|
blob
|
history
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index 05532044dbfa2015d63bdc8f6082c712238312e7..a14c4f6efdaa0f1341e2a18b33df2cddc8745004 100644
(file)
--- a/
phpfspot.class.php
+++ b/
phpfspot.class.php
@@
-1444,12
+1444,14
@@
class PHPFSPOT {
$this->get_tags();
$_SESSION['searchfor'] = $searchfor;
+
if($from != 0)
- $_SESSION['from_date'] = strtotime($from);
+ $_SESSION['from_date'] = strtotime($from
." 00:00:00"
);
else
unset($_SESSION['from_date']);
+
if($to != 0)
- $_SESSION['to_date'] = strtotime($to);
+ $_SESSION['to_date'] = strtotime($to
." 23:59:59"
);
else
unset($_SESSION['to_date']);