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/calendar/inc/class.socalendar_sql.inc.php

    r7655 r7673  
    597597                                { 
    598598                                        $groups = explode(',',$this->stream->f('groups')); 
    599                                         for($j=1;$j<count($groups) - 1;++$j) 
     599                    $groups_count = count($groups) - 1; 
     600                                        for($j=1;$j<$groups_count;++$j) 
    600601                                        { 
    601602                                                $this->add_attribute('groups',$groups[$j],$j-1); 
Note: See TracChangeset for help on using the changeset viewer.