From: Simon Cozens Date: Thu, 29 Jan 2004 17:45:25 +0000 (+0000) Subject: Oops, I changed the interface, didn't I? X-Git-Tag: 2.10~343 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;ds=sidebyside;h=764903e283216b27eda8c60aeda8549d5e6f6b32;p=maypole.git Oops, I changed the interface, didn't I? git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@19 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/lib/Apache/MVC/Model/CDBI.pm b/lib/Apache/MVC/Model/CDBI.pm index 833550d..86b2d34 100644 --- a/lib/Apache/MVC/Model/CDBI.pm +++ b/lib/Apache/MVC/Model/CDBI.pm @@ -34,7 +34,7 @@ sub do_edit :Exported { } else { $r->{template} = "view"; } - return $obj; + $r->objects([ $obj ]); } sub delete :Exported {