https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114766
Revision: 114766
Author: a_engels
Date: 2012-04-06 16:09:35 +0000 (Fri, 06 Apr 2012)
Log Message:
-----------
bugfix
Modified Paths:
--------------
trunk/wikistats/squids/SquidReportArchive.pl
Modified: trunk/wikistats/squids/SquidReportArchive.pl
===================================================================
--- trunk/wikistats/squids/SquidReportArchive.pl 2012-04-06 15:42:39 UTC
(rev 114765)
+++ trunk/wikistats/squids/SquidReportArchive.pl 2012-04-06 16:09:35 UTC
(rev 114766)
@@ -228,7 +228,7 @@
}
#&ReadCountryCodes ;
-&
+
if ($days_input_found > 0)
{
print "\nDays input = $days_input_found\n" ;
@@ -4836,6 +4836,8 @@
$othertotal = 0 ;
foreach $country (keys_sorted_by_value_num_desc %countrytotal)
{
+ $thiscountrytotal = $countrytotal { $country} ;
+ &Log ("Country: $country, total: $thiscountrytotal, boundary: $boundary") ;
if (( $countrytotal { $country } lt $boundary ) || ( $country == '--'))
{
$othertotal += $countrytotal { $country } ;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs