X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole%2FModel%2FCDBI.pm;h=2d309904c015270349044a5b90da40014aee7b1d;hb=24259799350483f32219fd3755e0bed54f909c54;hp=4a83bcb08f5c402c91bb22bd04497a5208dde688;hpb=2753043a08e24e59b8f068f00bc72b4eb21190ae;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;