Ignore:
Timestamp:
12/14/12 14:30:35 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Melhorias de performance no codigo do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/inc/report/includes/classes/FormularioUtil.class.php

    r5307 r7655  
    8888                $resu = pg_query($conn,$sql); 
    8989                if (pg_num_rows($resu)>0) { 
    90                 for ($x=0;$x<pg_num_rows($resu);$x++)  { 
     90                for ($x=0;$x<pg_num_rows($resu);++$x)  { 
    9191                    $arrSelectValues[pg_fetch_result($resu,$x,$id)] = pg_fetch_result($resu,$x,$value); 
    9292                } 
     
    111111                $resu = pg_query($conn,$sql);    
    112112                if (pg_num_rows($resu)>0) { 
    113                 for ($x=0;$x<pg_num_rows($resu);$x++)  { 
     113                for ($x=0;$x<pg_num_rows($resu);++$x)  { 
    114114                    $arrSelectChecks[] = array(pg_fetch_result($resu,$x,$oid), pg_fetch_result($resu,$x,$descricao), false); 
    115115                } 
     
    122122                $resu = pg_query($conn,$sql);    
    123123                if (pg_num_rows($resu)>0) { 
    124                 for ($x=0;$x<pg_num_rows($resu);$x++)  { 
     124                for ($x=0;$x<pg_num_rows($resu);++$x)  { 
    125125                    $arrSelectChecks[] = array(pg_fetch_result($resu,$x,$oid), pg_fetch_result($resu,$x,$descricao), false); 
    126126                } 
Note: See TracChangeset for help on using the changeset viewer.