[Catalyst-commits] r7892 -
CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/lib/CatalystX/CRUD/Controller
karpet at dev.catalyst.perl.org
karpet at dev.catalyst.perl.org
Wed Jun 4 15:37:17 BST 2008
Author: karpet
Date: 2008-06-04 15:37:17 +0100 (Wed, 04 Jun 2008)
New Revision: 7892
Modified:
CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/lib/CatalystX/CRUD/Controller/RHTMLO.pm
Log:
fix bug with missing $c
Modified: CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/lib/CatalystX/CRUD/Controller/RHTMLO.pm
===================================================================
--- CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/lib/CatalystX/CRUD/Controller/RHTMLO.pm 2008-06-04 08:34:22 UTC (rev 7891)
+++ CatalystX-CRUD/CatalystX-CRUD-Controller-RHTMLO/trunk/lib/CatalystX/CRUD/Controller/RHTMLO.pm 2008-06-04 14:37:17 UTC (rev 7892)
@@ -42,7 +42,7 @@
$self->next::method($c);
# allow for params to be passed in to seed the form/object
- for my $field ( $self->field_names ) {
+ for my $field ( $self->field_names($c) ) {
if ( exists $c->req->params->{$field} ) {
$c->stash->{form}
->field_value( $field, $c->req->params->{$field} );
More information about the Catalyst-commits
mailing list