From: Moritz Bunkus Date: Tue, 21 Jun 2011 12:34:11 +0000 (+0200) Subject: Form::init_template gibt immer das Template-Objekt zurück X-Git-Tag: release-2.7.0beta1~369 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c781544686f9faf39259f1076297b0ec69aff6fc;p=kivitendo-erp.git Form::init_template gibt immer das Template-Objekt zurück --- 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,