From: Sven Schöling Date: Mon, 8 Aug 2016 14:05:10 +0000 (+0200) Subject: Letter: is_sales nicht in init_letter clobbern X-Git-Tag: release-3.5.4~2142 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=d64013f4ba48d1f34e1d55f8c5f98d0ab2b5ed2b;p=kivitendo-erp.git Letter: is_sales nicht in init_letter clobbern --- diff --git a/SL/Controller/Letter.pm b/SL/Controller/Letter.pm index 3d704b8de..25c11f780 100644 --- a/SL/Controller/Letter.pm +++ b/SL/Controller/Letter.pm @@ -577,7 +577,7 @@ sub init_letter { # )); } - $self->is_sales($letter->is_sales); + $self->is_sales($letter->is_sales) if $letter->id; $letter; }