From: Laurent Destailleur Date: Wed, 15 Jan 2014 13:49:59 +0000 (+0100) Subject: Fix: #918 $MinHit{'Host'} rather than $MinHit{'Login'} used in sub X-Git-Tag: AWSTATS_7_3~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbfd8e10a467d3fc311a532ec6ce4f28520e0a88;p=thirdparty%2FAWStats.git Fix: #918 $MinHit{'Host'} rather than $MinHit{'Login'} used in sub HTMLShowLogins --- diff --git a/docs/awstats_changelog.txt b/docs/awstats_changelog.txt index 5a4ad8b6..b66972b3 100644 --- a/docs/awstats_changelog.txt +++ b/docs/awstats_changelog.txt @@ -19,6 +19,7 @@ Fixes: - #838 GeoIP Cities page doesnt work. - Add missing icons. - #881 Avoid warning mixed http/https with module graphgooglechartapi. +- #918 $MinHit{'Host'} rather than $MinHit{'Login'} used in sub HTMLShowLogins. Other: - Move version system to sourceforge Git instead of CVS. diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index e75ceab8..eddae5c0 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -12200,11 +12200,11 @@ sub HTMLShowLogins{ $total_p = $total_h = $total_k = 0; my $count = 0; if ( $HTMLOutput{'alllogins'} ) { - &BuildKeyList( $MaxRowsInHTMLOutput, $MinHit{'Host'}, + &BuildKeyList( $MaxRowsInHTMLOutput, $MinHit{'Login'}, \%_login_h, \%_login_p ); } if ( $HTMLOutput{'lastlogins'} ) { - &BuildKeyList( $MaxRowsInHTMLOutput, $MinHit{'Host'}, + &BuildKeyList( $MaxRowsInHTMLOutput, $MinHit{'Login'}, \%_login_h, \%_login_l ); } foreach my $key (@keylist) {