fixed per https://rt.cpan.org/Ticket/Display.html?id=58363
Devin Austin [Tue, 13 Jul 2010 21:04:31 +0000 (15:04 -0600)]
lib/Catalyst/Plugin/FormValidator/Simple.pm

index 1874e66..bdecd33 100644 (file)
@@ -32,7 +32,7 @@ sub setup {
 
 sub prepare {
     my $c = shift;
-    $c->maybe::next::method(@_);
+    $c = $c->maybe::next::method(@_);
     $c->{validator} = FormValidator::Simple->new;
     return $c;
 }