Changeset 1808

Show
Ignore:
Timestamp:
01/25/2008 11:07:14 AM (9 months ago)
Author:
armen
Message:

Fixing #335.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Validation.php

    r1766 r1808  
    597597                if ($maxsize['file'] AND $data['size'] > $maxsize['file']) 
    598598                { 
    599                         $this->add_error('max_size', $this->current_field, $maxsize['file']); 
     599                        $this->add_error('max_size', $this->current_field, $maxsize['human']); 
    600600                        return FALSE; 
    601601                }