From: Alexander Marx Date: Mon, 1 Sep 2014 09:11:25 +0000 (+0200) Subject: Squid-accounting: revert setlocale because thevalues are not correctly with this... X-Git-Tag: v2.15-core82~1^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67bda607ca7335f3655cfd663bcae42a296b1888;p=ipfire-2.x.git Squid-accounting: revert setlocale because thevalues are not correctly with this setting --- diff --git a/src/squid-accounting/acct-lib.pl b/src/squid-accounting/acct-lib.pl index f0081b7ef9..a19140d04c 100644 --- a/src/squid-accounting/acct-lib.pl +++ b/src/squid-accounting/acct-lib.pl @@ -460,7 +460,6 @@ sub pdf2 { $lines->linewidth('0.5'); #Fill BILL DATA into PDF - setlocale(LC_ALL, "$mainsettings{'LANGUAGE'}_$uplang"); foreach (@billar) { my ($a1,$a2) = split( /\,/, $_ ); $a2=sprintf"%.2f",($a2/1024/1024);