From: Moritz Bunkus Date: Thu, 30 Dec 2010 14:46:25 +0000 (+0100) Subject: Kosmetik X-Git-Tag: release-2.6.2beta1~17^2~6^2~4 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1ffb42006427be006df310be1e98aad5dd7b1a4d;p=kivitendo-erp.git Kosmetik --- diff --git a/SL/OE.pm b/SL/OE.pm index 63fcf1f06..677a78b39 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -338,7 +338,7 @@ sub save { $form->{"marge_percent_$i"} = $form->parse_amount($myconfig, $form->{"marge_percent_$i"}) * 1; $form->{"marge_absolut_$i"} = $form->parse_amount($myconfig, $form->{"marge_absolut_$i"}) * 1; - + $form->{"lastcost_$i"} = $form->parse_amount($myconfig, $form->{"lastcost_$i"}); # set values to 0 if nothing entered diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index d98bddaa6..c889bc100 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -731,7 +731,7 @@ sub flash { my $category = shift; $category = 'info' if $category eq 'information'; - $::form->{FLASH} ||= { }; + $::form->{FLASH} ||= { }; $::form->{FLASH}->{ $category } ||= [ ]; push @{ $::form->{FLASH}->{ $category } }, @_; }