Ignore:
Timestamp:
10/14/13 17:18:20 (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

    r8235 r8237  
    10081008                        if (!$column_definitions) 
    10091009                        { 
    1010                                 $column_definitions = $this->column_definitions; 
     1010                                $column_definitions = isset($this->column_definitions) ? $this->column_definitions : NULL; 
    10111011                        } 
    10121012                        if ($this->Debug) echo "<p>db::column_data_implode('$glue',".print_r($array,True).",'$use_key',".print_r($only,True).",<pre>".print_r($column_definitions,True)."</pre>\n"; 
     
    10771077                        if (!$app) 
    10781078                        { 
    1079                                 $app = $this->app ? $this->app : $GLOBALS['phpgw_info']['flags']['currentapp']; 
     1079                                $app = isset($this->app) && $this->app ? $this->app : $GLOBALS['phpgw_info']['flags']['currentapp']; 
    10801080                        } 
    10811081                        if (isset($GLOBALS['phpgw_info']['apps']))      // dont set it, if it does not exist!!! 
Note: See TracChangeset for help on using the changeset viewer.