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/phpgwapi/inc/csstidy/class.csstidy.php

    r7655 r7673  
    419419        $template = explode('|',$content); 
    420420 
    421         for ($i = 0; $i < count($template); ++$i ) 
     421    $template_count = count($template); 
     422        for ($i = 0; $i < $template_count; ++$i ) 
    422423        { 
    423424                $this->template[$i] = $template[$i]; 
Note: See TracChangeset for help on using the changeset viewer.