Changeset 2701

Show
Ignore:
Timestamp:
05/28/2008 04:47:07 PM (6 months ago)
Author:
Shadowhand
Message:

Fixing #431, thanks xadio.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/forge/libraries/Forge.php

    r2699 r2701  
    9090                switch (count($args)) 
    9191                { 
    92                         case 0: 
    93                                 throw new Kohana_Exception('forge.invalid_input', $input); 
    94                         break; 
    9592                        case 1: 
    9693                                $input = new $input($args[0]); 
     
    9996                                $input = new $input($args[0], $args[1]); 
    10097                        break; 
     98                        default: 
     99                                throw new Kohana_Exception('forge.invalid_input', $input); 
    101100                } 
    102101