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

    r7655 r7673  
    5454                        echo '<table border="0" cellpadding="0" cellspacing="0" width="'.$this->getvar('innerwidth') 
    5555                                . '" bgcolor="' . $this->getvar('innerbgcolor') . '">'; 
    56                         for ($x = 0; $x < count($this->data); ++$x) 
     56            $data_count = count($this->data); 
     57                        for ($x = 0; $x < $data_count; ++$x) 
    5758                        { 
    5859                                echo '<tr>'; 
Note: See TracChangeset for help on using the changeset viewer.