From 764903e283216b27eda8c60aeda8549d5e6f6b32 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Thu, 29 Jan 2004 17:45:25 +0000 Subject: [PATCH] Oops, I changed the interface, didn't I? git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@19 48953598-375a-da11-a14b-00016c27c3ee --- lib/Apache/MVC/Model/CDBI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5