Changeset 2123

Show
Ignore:
Timestamp:
02/21/08 20:53:01 (5 months ago)
Author:
Shadowhand
Message:

Fixing #408, thanks xadio.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/modules/forge/i18n/en_US/forge.php

    r1923 r2123  
    33$lang = array 
    44( 
    5         'invalid_input' => 'Invalid input type requested: %s', 
     5        'unknown_input' => 'Unable to find a Forge input class for: %s', 
    66); 
  • trunk/modules/forge/libraries/Forge.php

    r2120 r2123  
    9999 
    100100                if ( ! ($input instanceof Form_Input) AND ! ($input instanceof Forge)) 
    101                         throw new Kohana_Exception('forge.invalid_input', get_class($input)); 
     101                        throw new Kohana_Exception('forge.unknown_input', get_class($input)); 
    102102 
    103103                $input->method = $this->attr['method'];