Show
Ignore:
Timestamp:
03/05/2008 06:22:35 PM (9 months ago)
Author:
Shadowhand
Message:

Fixing #432.

Files:
1 modified

Legend:

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

    r2169 r2223  
    234234                                        $rule = array($this, $rule); 
    235235                                } 
     236                                elseif (method_exists('valid', $rule)) 
     237                                { 
     238                                        // Make the rule a callback for the valid:: helper 
     239                                        $rule = array('valid', $rule); 
     240                                } 
    236241                        } 
    237242