summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/include/rcube_session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php
index eca8450af..d3da36f57 100644
--- a/program/include/rcube_session.php
+++ b/program/include/rcube_session.php
@@ -289,7 +289,7 @@ class rcube_session
$ts = microtime(true);
// use internal data for fast requests (up to 0.5 sec.)
- if ($key == $this->key && !($this->vars || $ts - $this->start < 0.5))
+ if ($key == $this->key && (!$this->vars || $ts - $this->start < 0.5))
$oldvars = $this->vars;
else // else read data again
$oldvars = $this->mc_read($key);