From: DarioSindicic Date: Wed, 12 Aug 2020 18:15:39 +0000 (+0200) Subject: tb switched from 179 to 180 and added default in message array X-Git-Tag: AWSTATS_7_9~11^2~7^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F188%2Fhead;p=thirdparty%2FAWStats.git tb switched from 179 to 180 and added default in message array --- diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 01bccb52..4de8ff62 100755 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -739,7 +739,8 @@ use vars qw/ @Message /; 'Konqueror versions', ',', 'Downloads', - 'Export CSV' + 'Export CSV', + 'TB' ); #------------------------------------------------------------------------------ @@ -8093,7 +8094,7 @@ sub Format_Bytes { # Do not use exp/log function to calculate 1024power, function make segfault on some unix/perl versions if ( $bytes >= ( $fudge << 40 ) ) { - return sprintf( "%.2f", $bytes / 1099511627776 ) . " $Message[179]"; + return sprintf( "%.2f", $bytes / 1099511627776 ) . " $Message[180]"; } if ( $bytes >= ( $fudge << 30 ) ) { return sprintf( "%.2f", $bytes / 1073741824 ) . " $Message[110]";