thomascube
2011-07-11 609c5e9da9bb52c317eea1abbd424cca181caad9
Session object can be null if db/memcache is not available

1 files modified
2 ■■■ changed files
program/include/rcmail.php 2 ●●● patch | view | raw | blame | history
program/include/rcmail.php
@@ -1165,7 +1165,7 @@
      $this->imap->close();
    // before closing the database connection, write session data
    if ($_SERVER['REMOTE_ADDR']) {
    if ($_SERVER['REMOTE_ADDR'] && is_object($this->session)) {
      $this->session->cleanup();
      session_write_close();
    }