From: Moritz Bunkus Date: Fri, 5 Sep 2008 10:32:54 +0000 (+0000) Subject: Doppeltes HTML-Quoting vermeiden (das CGI-Modul quotet selber schon). X-Git-Tag: release-2.6.0beta2~263 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8740c4bf6ac83343116fae99eeb50ab785b531c9;p=kivitendo-erp.git Doppeltes HTML-Quoting vermeiden (das CGI-Modul quotet selber schon). --- diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index 128113eaf..a6649146e 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -793,10 +793,10 @@ sub display_rows { my %charts = (); my $taxchart_init; foreach my $item (@{ $form->{ALL_CHARTS} }) { - my $key = Q($item->{accno}) . "--" . Q($item->{tax_id}); + my $key = $item->{accno} . "--" . $item->{tax_id}; $taxchart_init = $item->{taxkey_id} unless (@chart_values); push(@chart_values, $key); - $chart_labels{$key} = H($item->{accno}) . "--" . H($item->{description}); + $chart_labels{$key} = $item->{accno} . "--" . $item->{description}; $charts{$item->{accno}} = $item; } @@ -804,11 +804,10 @@ sub display_rows { my @taxchart_values = (); my %taxcharts = (); foreach my $item (@{ $form->{ALL_TAXCHARTS} }) { - my $key = Q($item->{id}) . "--" . Q($item->{rate}); + my $key = $item->{id} . "--" . $item->{rate}; $taxchart_init = $key if ($taxchart_init eq $item->{taxkey}); push(@taxchart_values, $key); - $taxchart_labels{$key} = H($item->{taxdescription}) . " " . - H($item->{rate} * 100) . ' %'; + $taxchart_labels{$key} = $item->{taxdescription} . " " . $item->{rate} * 100 . ' %'; $taxcharts{$item->{id}} = $item; }