Fix a typo when setting the validation_auto attribute.
Aran Deltac [Thu, 29 Dec 2005 18:01:11 +0000 (18:01 +0000)]
lib/DBIx/Class/Validation.pm

index 623766c..4b83067 100644 (file)
@@ -32,7 +32,7 @@ sub validation {
     
     $class->validation_module( $args{module} ) if (exists $args{module});
     $class->validation_profile( $args{profile} ) if (exists $args{profile});
-    $class->validatio_auto( $args{auto} ) if (exists $args{auto});
+    $class->validation_auto( $args{auto} ) if (exists $args{auto});
 }
 
 sub validate {