summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-05-06 17:51:31 +0000
committeralecpl <alec@alec.pl>2010-05-06 17:51:31 +0000
commitbec31a4e86ac0d6b569e7b9601b0bde4a0e26a16 (patch)
tree57c23acc80f1e8ae0929ad736264de4dc5b8560b /program/include
parentc833ed4053106c9df58b84a441cc4509cda45a38 (diff)
- fix for use without session object
Diffstat (limited to 'program/include')
-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 e657abeb4..d9ee00a42 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -107,7 +107,7 @@ class rcmail
$this->action = asciiwords(get_input_value('_action', RCUBE_INPUT_GPC));
// reset some session parameters when changing task
- if ($_SESSION['task'] != $this->task)
+ if ($this->session && $_SESSION['task'] != $this->task)
$this->session->remove('page');
// set current task to session