X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FModel%2FCDBI.pm;h=2d309904c015270349044a5b90da40014aee7b1d;hb=38deb5b0946274f649b98539bd1af06ab2741cfb;hp=4a83bcb08f5c402c91bb22bd04497a5208dde688;hpb=b1d78352f8dc3f27b8ddda28d638ba3e80d2abf5;p=maypole.git diff --git a/lib/Maypole/Model/CDBI.pm b/lib/Maypole/Model/CDBI.pm index 4a83bcb..2d30990 100644 --- a/lib/Maypole/Model/CDBI.pm +++ b/lib/Maypole/Model/CDBI.pm @@ -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;