From d64013f4ba48d1f34e1d55f8c5f98d0ab2b5ed2b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 8 Aug 2016 16:05:10 +0200 Subject: [PATCH] Letter: is_sales nicht in init_letter clobbern --- SL/Controller/Letter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1