From: Matt Phillips Date: Thu, 17 Mar 2011 01:00:44 +0000 (-0400) Subject: Fixed: RS example code was broken X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0d85b698cb9289262e47d25263b04a2b05d2bcf5;p=dbsrgits%2FDBIx-Class-Historic.git Fixed: RS example code was broken --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 77ff966..8f894a0 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -94,7 +94,7 @@ another. year => $request->param('year'), }); - $self->apply_security_policy( $cd_rs ); + $cd_rs = $self->apply_security_policy( $cd_rs ); return $cd_rs->all(); }