From 600118b40a6eb270c3214b7755cd8ab85d91d07f Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sun, 7 Jan 2007 17:38:24 +0000 Subject: [PATCH] - fix: Styles were printing double head block headers. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Session/Style.pm | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 0c085d80a..8a14ac294 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -17,6 +17,7 @@ - fix: WebGUI::Mail::Get now handles multipart/alternative messages appropriately. This fixes the problem with CS posts sent via e-mail showing two versions of the same post. + - fix: Styles were printing double head block headers. 7.3.3 - fix: Wiki Purge throws fatal diff --git a/lib/WebGUI/Session/Style.pm b/lib/WebGUI/Session/Style.pm index 9f7acbf48..f31ab6b07 100644 --- a/lib/WebGUI/Session/Style.pm +++ b/lib/WebGUI/Session/Style.pm @@ -195,7 +195,6 @@ if ($self->session->user->isInGroup(2) || $self->session->setting->get("preventP my $style = WebGUI::Asset::Template->new($self->session,$templateId); my $output; if (defined $style) { - $var{'head.tags'} .= $style->get("headBlock"); my $meta = {}; if ($self->session->setting->get("metaDataEnabled")) { $meta = $style->getMetaDataFields();