From cc1c1d165a5769f37326d80ff6c395b7ec15da70 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Wed, 4 Mar 2009 22:09:08 +0000 Subject: [PATCH] fixed: Template parser cannot be set --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset/Template.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index d12f107ab..45529df21 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.7.0 + - fixed: Template parser cannot be set 7.6.14 - fixed: IE6 shows Admin Bar over Asset Manager diff --git a/lib/WebGUI/Asset/Template.pm b/lib/WebGUI/Asset/Template.pm index a5ee4a992..4374bd6bb 100644 --- a/lib/WebGUI/Asset/Template.pm +++ b/lib/WebGUI/Asset/Template.pm @@ -144,6 +144,7 @@ sub processPropertiesFromFormPost { my %data; my $needsUpdate = 0; if ($self->getValue("parser") ne $self->session->form->process("parser","className") && ($self->session->form->process("parser","className") ne "")) { + $needsUpdate = 1; if (isIn($self->session->form->process("parser","className"),@{$self->session->config->get("templateParsers")})) { %data = ( parser => $self->session->form->process("parser","className") ); } else {