Ignore:
Timestamp:
09/26/13 15:41:49 (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/adodb/drivers/adodb-firebird.inc.php

    r34 r8222  
    11<?php 
    22/*  
    3 V4.94 23 Jan 2007  (c) 2000-2007 John Lim (jlim#natsoft.com.my). All rights reserved. 
     3V5.18 3 Sep 2012  (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved. 
    44  Released under both BSD license and Lesser GPL library license.  
    55  Whenever there is any discrepancy between the two licenses,  
     
    4545        //              SELECT col1, col2 FROM table ROWS 5 -- get 5 rows  
    4646        //              SELECT col1, col2 FROM TABLE ORDER BY col1 ROWS 3 TO 7 -- first 5 skip 2 
    47         function &SelectLimit($sql,$nrows=-1,$offset=-1,$inputarr=false, $secs=0) 
     47        function SelectLimit($sql,$nrows=-1,$offset=-1,$inputarr=false, $secs=0) 
    4848        { 
    4949                $nrows = (integer) $nrows; 
     
    5555                $sql = preg_replace('/^[ \t]*select/i',$str,$sql);  
    5656                if ($secs) 
    57                         $rs =& $this->CacheExecute($secs,$sql,$inputarr); 
     57                        $rs = $this->CacheExecute($secs,$sql,$inputarr); 
    5858                else 
    59                         $rs =& $this->Execute($sql,$inputarr); 
     59                        $rs = $this->Execute($sql,$inputarr); 
    6060                         
    6161                return $rs; 
Note: See TracChangeset for help on using the changeset viewer.