Ignore:
Timestamp:
10/09/13 12:01:22 (11 years ago)
Author:
angelo
Message:

Ticket #3491 - Compatibilizar Expresso com novas versoes do PHP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.5.1-evolucao/phpgwapi/inc/class.db.inc.php

    r1738 r8234  
    209209                                        $GLOBALS[ 'phpgw' ]->ADOdb = NULL; 
    210210                                } 
    211  
    212211                                if (!is_object($GLOBALS['phpgw']->ADOdb) ||     // we have no connection so far 
    213                                         (is_object($GLOBALS['phpgw']->db) &&    // we connect to a different db, then the global one 
     212                                        (isset($GLOBALS['phpgw']->db) && is_object($GLOBALS['phpgw']->db) &&    // we connect to a different db, then the global one 
    214213                                                ($this->Type != $GLOBALS['phpgw']->db->Type || 
    215214                                                $this->Database != $GLOBALS['phpgw']->db->Database || 
Note: See TracChangeset for help on using the changeset viewer.