From 001396d36374c7060ecadea754bf3862eaf75635 Mon Sep 17 00:00:00 2001 From: Aaron Trevena Date: Fri, 3 Aug 2007 18:06:16 +0000 Subject: [PATCH] fix to last commit git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@581 48953598-375a-da11-a14b-00016c27c3ee --- lib/Maypole.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Maypole.pm b/lib/Maypole.pm index 249a3e9..325380e 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -575,7 +575,7 @@ sub handler_guts { # process request with model if applicable and template not set. if ($applicable) { - unless ($r->{template}) { + unless ($self->{template}) { eval { $self->model_class->process($self) }; if ( my $error = $@ ) { $status = $self->call_exception($error, "model"); -- 2.39.2