From 539f22285ec7416a42af1c835f8bfae7243223e9 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sat, 18 Feb 2006 17:48:01 +0000 Subject: [PATCH] fixing syntax errors --- docs/changelog/6.x.x.txt | 1 + lib/WebGUI/Asset/Template/HTMLTemplateExpr.pm | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index a6a860894..b9cf66e01 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -37,6 +37,7 @@ - The Navigation Asset now allows setting the MIME type of its output so that you can generate non-HTML navigations or take advantate of the Google SiteMap feature. + - [ 1433525 ] 6.9: Compilation errors 6.8.7 - fix [ 1431098 ] op=becomeUser can become non-existent userIds diff --git a/lib/WebGUI/Asset/Template/HTMLTemplateExpr.pm b/lib/WebGUI/Asset/Template/HTMLTemplateExpr.pm index 6c8e197e4..2cdfe8684 100755 --- a/lib/WebGUI/Asset/Template/HTMLTemplateExpr.pm +++ b/lib/WebGUI/Asset/Template/HTMLTemplateExpr.pm @@ -51,7 +51,7 @@ A hash reference containing template variables and loops. sub process { my $class = shift; my $template = shift; - my $vars = $self->addSessionVars(shift); + my $vars = $class->addSessionVars(shift); my $t; eval { $t = HTML::Template::Expr->new(scalarref=>\$template, @@ -65,8 +65,8 @@ sub process { $t->param(%{$vars}); return $t->output; } else { - $self->session->errorHandler->error("Error in template. ".$@); - return WebGUI::International->new($self->session,'Asset_Template')->get('template error').$@; + $class->session->errorHandler->error("Error in template. ".$@); + return WebGUI::International->new($class->session,'Asset_Template')->get('template error').$@; } }