summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2009-05-12 13:26:07 +0000
committersvncommit <devs@roundcube.net>2009-05-12 13:26:07 +0000
commit617b4f699f2e47991c50e05528b1f9ecbc3c3d9c (patch)
tree83b540541b969d913ff42b0a0d3ad760a312e8f3 /program/include/rcmail.php
parent78cdeba1a82dd744f59ebfe625a7d7dd8d23ff41 (diff)
Minimize chance of race condition in session handling (#1485659, #1484678)
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index e660e52c5..45b59ae49 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -124,7 +124,7 @@ class rcmail
// reset some session parameters when changing task
if ($_SESSION['task'] != $this->task)
- unset($_SESSION['page']);
+ rcube_sess_unset('page');
// set current task to session
$_SESSION['task'] = $this->task;