From 579b095b4e7b43a74f90334df6e79fe2366ef48c Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Thu, 9 Dec 2004 09:32:45 +0000 Subject: [PATCH] fix classmetadata git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@311 48953598-375a-da11-a14b-00016c27c3ee --- lib/Maypole/View/Base.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5