From: Moritz Bunkus Date: Thu, 31 Jan 2008 12:01:34 +0000 (+0000) Subject: Doppeltes Umwandeln von " in " verhindern. X-Git-Tag: release-2.6.0beta1~266 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=755822a826214b0981138e155c2c33f46ee21dec;p=kivitendo-erp.git Doppeltes Umwandeln von " in " verhindern. --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index aa5c24878..a43a49390 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -239,9 +239,6 @@ sub display_row { $linetotal = $form->round_amount(($form->{"sellprice_$i"} - $discount) / $price_factor, $decimalplaces); $linetotal = $form->round_amount($linetotal * $form->{"qty_$i"}, 2); - # convert " to " - map { $form->{"${_}_$i"} =~ s/\"/"/g } qw(partnumber description unit unit_old); - $column_data{runningnumber} = $cgi->textfield(-name => "runningnumber_$i", -size => 5, -value => $i); # HuT $column_data{partnumber} = $cgi->textfield(-name => "partnumber_$i", -size => 12, -value => $form->{"partnumber_$i"}); $column_data{description} = ((($rows = $form->numtextrows($form->{"description_$i"}, 30, 6)) > 1) # if description is too large, use a textbox instead diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 2a90fc6df..ba1145246 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -134,6 +134,7 @@ sub add { sub edit { $lxdebug->enter_sub(); + $form->{"Watchdog::description_3"} = 1; check_oe_access(); # show history button @@ -319,7 +320,6 @@ sub prepare_order { $form->{"discount_$i"} = $form->format_amount(\%myconfig, $form->{"discount_$i"} * ($form->{id} ? 100 : 1)); $form->{"sellprice_$i"} = $form->format_amount(\%myconfig, $form->{"sellprice_$i"}); $form->{"qty_$i"} = $form->format_amount(\%myconfig, $form->{"qty_$i"}); - map { $form->{"${_}_$i"} =~ s/\"/"/g } qw(partnumber description unit); } $lxdebug->leave_sub();