Mercurial > hg > rc2
diff program/lib/Roundcube/rcube_session.php @ 19:b6a96bdd6b29
More cleaning up php8 Warnings/deprecations
| author | Charlie Root |
|---|---|
| date | Wed, 08 Oct 2025 08:50:44 -0400 |
| parents | dd5ed6ef69c9 |
| children |
line wrap: on
line diff
--- a/program/lib/Roundcube/rcube_session.php Tue Oct 07 11:20:40 2025 -0400 +++ b/program/lib/Roundcube/rcube_session.php Wed Oct 08 08:50:44 2025 -0400 @@ -302,7 +302,7 @@ $cache = null; } // use internal data for fast requests (up to 0.5 sec.) - else if ($key == $this->key && (!$this->vars || $ts - $this->start < 0.5)) { + else if ($key == $this->key && (!$this->vars || microtime(true) - $this->start < 0.5)) { $cache = $this->vars; } else { // else read data again
