[drupal-devel] [bug] Incorrect units for upload messages
    drumm 
    drupal-devel at drupal.org
       
    Thu May 19 20:10:44 UTC 2005
    
    
  
Issue status update for http://drupal.org/node/23213
 Project:      Drupal
 Version:      4.6.0
 Component:    upload.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  drumm
 Reported by:  drumm
 Updated by:   drumm
 Status:       patch
 Attachment:   http://drupal.org/files/issues/upload.module_4.diff (2.02 KB)
The upload module stores these two particular variables as a number of
megabytes so we need to multiply by 1024^2 as happens elsewhere for
these messages. Seeing that something exceeeds a 1 byte quota is a bit
disconcerting when you have 1 MB.
I made the patch against HEAD, but the problem does exist in 4.6.x.
drumm
    
    
More information about the drupal-devel
mailing list