Skip to content

Commit

Permalink
Fixed problem using the wrong db handle.
Browse files Browse the repository at this point in the history
Now you'll get urls listed next to the counts if you have a separate logdb
  • Loading branch information
tvroom committed Feb 24, 2004
1 parent 0d868d1 commit 6856589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Stats/adminmail.pl
Expand Up @@ -775,7 +775,7 @@
my $sum = $stats->getRelocatedLinkHitsByType($rls);
my $rls_tu = $logdb->getRelocatedLinksSummary({ limit => 10});

$data{top_relocated_urls} = $logdb->getRelocatedLinkHitsByUrl($rls_tu);
$data{top_relocated_urls} = $stats->getRelocatedLinkHitsByUrl($rls_tu);

my $total;
foreach my $type (keys %$sum){
Expand Down

0 comments on commit 6856589

Please sign in to comment.