projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02d57b2
)
Don't throw a notice if the modified date isn't stored yet
author
Chuck Hagenbuch
<chuck@horde.org>
Fri, 5 Nov 2010 18:52:18 +0000
(14:52 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Fri, 5 Nov 2010 18:52:18 +0000
(14:52 -0400)
framework/Core/lib/Horde/Session.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Session.php
b/framework/Core/lib/Horde/Session.php
index
74233b1
..
1b66caa
100644
(file)
--- a/
framework/Core/lib/Horde/Session.php
+++ b/
framework/Core/lib/Horde/Session.php
@@
-123,7
+123,7
@@
class Horde_Session
* we are accessing the server via a periodic mechanism (think
* folder refreshing in IMP) that we will catch this refresh. */
$curr_time = time();
- if ($curr_time >= $_SESSION[self::MODIFIED]) {
+ if (
!isset($_SESSION[self::MODIFIED]) ||
$curr_time >= $_SESSION[self::MODIFIED]) {
$_SESSION[self::MODIFIED] = intval($curr_time + (ini_get('session.gc_maxlifetime') / 2));
$this->sessionHandler->changed = true;
}