From c781544686f9faf39259f1076297b0ec69aff6fc Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 21 Jun 2011 14:34:11 +0200 Subject: [PATCH] =?utf8?q?Form::init=5Ftemplate=20gibt=20immer=20das=20Tem?= =?utf8?q?plate-Objekt=20zur=C3=BCck?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Form.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Form.pm b/SL/Form.pm index 64412e15e..bed92e217 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -881,7 +881,7 @@ sub parse_html_template { sub init_template { my $self = shift; - return if $self->template; + return $self->template if $self->template; return $self->template(Template->new({ 'INTERPOLATE' => 0, -- 2.20.1