Changeset 4925 in subversion


Ignore:
Timestamp:
Jul 11, 2011 6:51:42 AM (23 months ago)
Author:
thomasb
Message:

Session object can be null if db/memcache is not available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcmail.php

    r4923 r4925  
    11661166 
    11671167    // before closing the database connection, write session data 
    1168     if ($_SERVER['REMOTE_ADDR']) { 
     1168    if ($_SERVER['REMOTE_ADDR'] && is_object($this->session)) { 
    11691169      $this->session->cleanup(); 
    11701170      session_write_close(); 
Note: See TracChangeset for help on using the changeset viewer.