]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Fix: #918 $MinHit{'Host'} rather than $MinHit{'Login'} used in sub
authorLaurent Destailleur <eldy@destailleur.fr>
Wed, 15 Jan 2014 13:49:59 +0000 (14:49 +0100)
committerLaurent Destailleur <eldy@destailleur.fr>
Wed, 15 Jan 2014 13:49:59 +0000 (14:49 +0100)
HTMLShowLogins

docs/awstats_changelog.txt
wwwroot/cgi-bin/awstats.pl

index 5a4ad8b64d17f4e7addeadbbe1d85b972c7ab46c..b66972b3b88cd2d873f33549e0bdca57baf3e7fc 100644 (file)
@@ -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.
index e75ceab874f6560519ad9363c5709882df35c918..eddae5c0cc067feabeec1db2a92f739a9df5f386 100644 (file)
@@ -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) {