Changeset 939

Show
Ignore:
Timestamp:
12/18/06 22:53:33 (2 years ago)
Author:
gboggs
Message:

Added the missing condition for "$size Bytes" units. BugId: 45951

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/wheeljack/lib/MT/App/CMS.pm

    r938 r939  
    933933            $row->{file_size} = $size; 
    934934            if ($size < 1024) { 
     935                $row->{file_size_formatted} = sprintf("%.1f Bytes", $size); 
    935936            } elsif ($size < 1024000) { 
    936937                $row->{file_size_formatted} = sprintf("%.1f KB", $size / 1024);