Changeset 8235 for sandbox/2.5.1-evolucao/phpgwapi/inc/class.db.inc.php
- Timestamp:
- 10/10/13 11:39:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.5.1-evolucao/phpgwapi/inc/class.db.inc.php
r8234 r8235 209 209 $GLOBALS[ 'phpgw' ]->ADOdb = NULL; 210 210 } 211 if (!is _object($GLOBALS['phpgw']->ADOdb)|| // we have no connection so far211 if (!isset($GLOBALS[ 'phpgw' ]->ADOdb) /*!is_object($GLOBALS['phpgw']->ADOdb)*/ || // we have no connection so far 212 212 (isset($GLOBALS['phpgw']->db) && is_object($GLOBALS['phpgw']->db) && // we connect to a different db, then the global one 213 213 ($this->Type != $GLOBALS['phpgw']->db->Type || … … 217 217 $this->Port != $GLOBALS['phpgw']->db->Port))) 218 218 { 219 if ( !is_object($GLOBALS['phpgw']->ADOdb)) // use the global object to store the connection219 if (isset($GLOBALS[ 'phpgw' ]->ADOdb)/*!is_object($GLOBALS['phpgw']->ADOdb)*/) // use the global object to store the connection 220 220 { 221 221 $this->Link_ID = &$GLOBALS['phpgw']->ADOdb;
Note: See TracChangeset
for help on using the changeset viewer.