From: Sven Schöling Date: Tue, 28 Dec 2010 09:33:48 +0000 (+0100) Subject: Whitespace. X-Git-Tag: release-2.6.2beta1~59 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=38f76dd99499563900b8fd0808674d5e9c8af6e0;p=kivitendo-erp.git Whitespace. (Holger, bringt Deinem Editor bitte bei Witespace am Ende von Zeilen automatisch zu löschen) --- diff --git a/SL/IC.pm b/SL/IC.pm index ad1703650..28fcc66b6 100644 --- a/SL/IC.pm +++ b/SL/IC.pm @@ -176,7 +176,7 @@ sub get_part { my $i = 1; - while (($form->{"make_$i"}, $form->{"model_$i"}, $form->{"old_lastcost_$i"}, + while (($form->{"make_$i"}, $form->{"model_$i"}, $form->{"old_lastcost_$i"}, $form->{"lastcost_$i"}, $form->{"lastupdate_$i"}, $form->{"sortorder_$i"}) = $sth->fetchrow_array) { $i++; @@ -502,9 +502,9 @@ sub save { if (($form->{"make_$i"}) || ($form->{"model_$i"})) { #hli $value = $form->parse_amount($myconfig, $form->{"lastcost_$i"}); - if ($value == $form->{"old_lastcost_$i"}) + if ($value == $form->{"old_lastcost_$i"}) { - if ($form->{"lastupdate_$i"} eq "") { + if ($form->{"lastupdate_$i"} eq "") { $lastupdate = 'now()'; } else { $lastupdate = $dbh->quote($form->{"lastupdate_$i"});