Ignore:
Timestamp:
06/29/07 15:17:46 (17 years ago)
Author:
niltonneto
Message:

Versão nova do ADODB (4.5 para 4.95)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/adodb/rsfilter.inc.php

    r2 r34  
    11<?php 
    22/**  
    3  * @version V4.50 6 July 2004 (c) 2000-2004 John Lim (jlim@natsoft.com.my). All rights reserved. 
     3 * @version V4.93 10 Oct 2006 (c) 2000-2007 John Lim (jlim#natsoft.com.my). All rights reserved. 
    44 * Released under both BSD license and Lesser GPL library license.  
    55 * Whenever there is any discrepancy between the two licenses,  
     
    4343        $rows = $rs->RecordCount(); 
    4444        for ($i=0; $i < $rows; $i++) { 
    45                 $fn($rs->_array[$i],$rs); 
     45                if (is_array ($fn)) { 
     46                $obj = $fn[0]; 
     47                $method = $fn[1]; 
     48                $obj->$method ($rs->_array[$i],$rs); 
     49      } else { 
     50                        $fn($rs->_array[$i],$rs); 
     51      } 
     52           
    4653        } 
    4754        if (!$rs->EOF) { 
Note: See TracChangeset for help on using the changeset viewer.