From fdf75b1313db9cffb228ec877b3f156aa98a5162 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 6 May 2010 17:51:31 +0000 Subject: - fix for use without session object git-svn-id: https://svn.roundcube.net/trunk@3601 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php index e657abeb4..d9ee00a42 100644 --- a/roundcubemail/program/include/rcmail.php +++ b/roundcubemail/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