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

    r7655 r7673  
    12111211                                reset($this->files_array); 
    12121212                                $this->readFilesInfo(); 
    1213                                 for ($i = 0; $i < count($this->files_array); ++$i) { 
     1213                $files_array_count = count($this->files_array); 
     1214                                for ($i = 0; $i < $files_array_count; ++$i) { 
    12141215                                        $comment = strtoupper($this->files_array[$i]['comment']); 
    12151216                                        $name = strtoupper($this->files_array[$i]['name']); 
Note: See TracChangeset for help on using the changeset viewer.