From: Simon Cozens Date: Thu, 9 Dec 2004 09:32:45 +0000 (+0000) Subject: fix classmetadata X-Git-Tag: 2.10~53 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=579b095b4e7b43a74f90334df6e79fe2366ef48c;p=maypole.git fix classmetadata git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@311 48953598-375a-da11-a14b-00016c27c3ee --- diff --git a/lib/Maypole/View/Base.pm b/lib/Maypole/View/Base.pm index edba625..c56ee51 100644 --- a/lib/Maypole/View/Base.pm +++ b/lib/Maypole/View/Base.pm @@ -56,7 +56,8 @@ sub vars { } # Overrides - local $r->{template_args}{classmetadata}; # already overrides + local $r->{template_args} = $r->{template_args}; + delete $r->{template_args}{classmetadata}; # already overrides %args = ( %args, %{ $r->{template_args} || {} } ); %args; }