From da4d7cff62387bda4ef51e2ca2001bd311db4cc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 3 Jul 2012 19:12:53 +0200 Subject: [PATCH] =?utf8?q?Fehler=20in=20der=20Behandlung=20von=20Preisgrup?= =?utf8?q?pen=20der=20wahrscheinlich=20die=20verschwindenden=20Preise=20au?= =?utf8?q?sgel=C3=B6st=20hat.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/IS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/IS.pm b/SL/IS.pm index d6acb2b31..32b517121 100644 --- a/SL/IS.pm +++ b/SL/IS.pm @@ -2113,7 +2113,7 @@ sub get_pricegroups_for_parts { $pkr->{price_ufmt} = $pkr->{price}; $pkr->{price} = $form->format_amount($myconfig, $pkr->{price}, 5); - if ($selectedpricegroup_id eq undef) { + if (!defined $selectedpricegroup_id) { # new entries in article list, either old invoice was loaded (edit) or a new article was added # Case A: open old invoice, no pricegroup selected # Case B: add new article to invoice, no pricegroup selected -- 2.20.1