[Catalyst-commits] r14365 -
CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD
karpet at dev.catalyst.perl.org
karpet at dev.catalyst.perl.org
Wed Oct 31 06:13:55 GMT 2012
Author: karpet
Date: 2012-10-31 06:13:55 +0000 (Wed, 31 Oct 2012)
New Revision: 14365
Modified:
CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/Controller.pm
Log:
force scalar context
Modified: CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/Controller.pm
===================================================================
--- CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/Controller.pm 2012-10-31 04:48:11 UTC (rev 14364)
+++ CatalystX-CRUD/CatalystX-CRUD/trunk/lib/CatalystX/CRUD/Controller.pm 2012-10-31 06:13:55 UTC (rev 14365)
@@ -682,8 +682,8 @@
my ( $self, $c, $rel ) = @_;
return if $self->has_errors($c);
$c->stash(
- results => $self->do_model(
- $c, 'search_related',
+ results => scalar $self->do_model(
+ $c, 'iterator_related',
$c->stash->{object}, $c->stash->{rel_name},
)
);
More information about the Catalyst-commits
mailing list