Ignore:
Timestamp:
Aug 30, 2005 9:32:53 PM (19 years ago)
Author:
scdev
Message:

checking isset($this) on self-instanciating function calls in App and DB.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/DBSessionHandler.inc.php

    r7 r8  
    6262        }
    6363
    64         if (!is_a($this->db, 'DB') || !$this->db->isConnected()) {
     64        if (!isset($this) || !is_a($this->db, 'DB') || !$this->db->isConnected()) {
    6565            trigger_error('Invalid DB object or unable to connect to database.', E_USER_ERROR);
    6666        }
Note: See TracChangeset for help on using the changeset viewer.