alecpl
2010-05-06 bec31a4e86ac0d6b569e7b9601b0bde4a0e26a16
- fix for use without session object


1 files modified
2 ■■■ changed files
program/include/rcmail.php 2 ●●● patch | view | raw | blame | history
program/include/rcmail.php
@@ -107,7 +107,7 @@
    $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