Show
Ignore:
Timestamp:
12/07/2007 12:58:04 PM (13 months ago)
Author:
Shadowhand
Message:

Fixed handling of rules() call without an action.

Files:
1 modified

Legend:

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

    r1444 r1445  
    5454                        else 
    5555                        { 
    56                                 // Default action is replace 
    57                                 $action = '='; 
     56                                // Default action is append 
     57                                $action = ''; 
    5858                        } 
    5959 
     
    130130        } 
    131131 
    132         protected function add_rules( array $rules, $action = '=') 
     132        protected function add_rules( array $rules, $action) 
    133133        { 
    134134                if ($action === '=')