diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-06 17:51:31 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-05-06 17:51:31 +0000 |
| commit | fdf75b1313db9cffb228ec877b3f156aa98a5162 (patch) | |
| tree | 98cf1ea8cd17add0d066d6543187ab699598346a /roundcubemail/program/include/rcmail.php | |
| parent | e0ae5f97cddc2ff8c1865343567d00242ae5daf4 (diff) | |
- fix for use without session object
git-svn-id: https://svn.roundcube.net/trunk@3601 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcmail.php')
| -rw-r--r-- | roundcubemail/program/include/rcmail.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
