From e5d167effaf03811f44c1059af12b87b125f6882 Mon Sep 17 00:00:00 2001 From: Sebastian Riedel Date: Wed, 27 Oct 2004 20:53:26 +0000 Subject: [PATCH] fixed template_args git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@275 48953598-375a-da11-a14b-00016c27c3ee --- Changes | 1 + lib/Maypole.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 4ad40f2..27cc5d8 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,7 @@ Revision history for Perl extension Maypole 2.04 Tue Oct 27 14:00:00 2004 - Fixed Apache::MVC version (Randal Schwartz) + - fixed template_args (Dave Howorth) 2.03 Tue Oct 26 13:00:00 2004 - increased version number of Apache::MVC diff --git a/lib/Maypole.pm b/lib/Maypole.pm index eed0c74..a0e50cb 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -59,7 +59,7 @@ sub handler { # See Maypole::Workflow before trying to understand this. my ( $class, $req ) = @_; $class->init unless $class->init_done; - my $r = bless { config => $class->config }, $class; + my $r = bless { template_args => {}, config => $class->config }, $class; $r->get_request($req); $r->parse_location(); my $status = $r->handler_guts(); -- 2.39.2