]> git.decadent.org.uk Git - maypole.git/commitdiff
fixes default retrieve.
authorMarcus Ramberg <mramberg@cpan.org>
Thu, 9 Dec 2004 10:33:03 +0000 (10:33 +0000)
committerMarcus Ramberg <mramberg@cpan.org>
Thu, 9 Dec 2004 10:33:03 +0000 (10:33 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@314 48953598-375a-da11-a14b-00016c27c3ee

lib/Maypole/Model/CDBI.pm

index 4a83bcb08f5c402c91bb22bd04497a5208dde688..2d309904c015270349044a5b90da40014aee7b1d 100644 (file)
@@ -243,7 +243,7 @@ sub fetch_objects {
         @pks{@pcs}=(@{$r->{args}});
         return $class->retrieve( %pks );
     }
-    return $class->retrieve( %$r->{args}->[0] );
+    return $class->retrieve( $r->{args}->[0] );
 }
 
 1;