From: Sebastian Riedel Date: Wed, 27 Oct 2004 20:53:26 +0000 (+0000) Subject: fixed template_args X-Git-Tag: 2.10~89 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=maypole.git;a=commitdiff_plain;h=e5d167effaf03811f44c1059af12b87b125f6882 fixed template_args git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@275 48953598-375a-da11-a14b-00016c27c3ee --- 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();