Ignore:
Timestamp:
12/18/12 16:15:29 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Correcoes para Performance: Function Within Loop Declaration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/catalog/interceptors/CatalogDBMapping.php

    r7655 r7673  
    2323 
    2424                if(count($params)>0 && isset($params[0]['id'])){ 
    25                         for($i=0; $i < count($params); ++$i){ 
     25            $params_count = count($params); 
     26                        for($i=0; $i < $params_count; ++$i){ 
    2627                                //Retorna o telefone e o e-mail padrao de um determinado contato 
    2728                                $sql = ' SELECT phpgw_cc_contact_conns.id_typeof_contact_connection as type, phpgw_cc_connections.connection_value as value ' 
Note: See TracChangeset for help on using the changeset viewer.