From bec31a4e86ac0d6b569e7b9601b0bde4a0e26a16 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 6 May 2010 17:51:31 +0000 Subject: - fix for use without session object --- program/include/rcmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3