From 1ea98958557c623ad5fd72779a4c8ac02d157a7e Mon Sep 17 00:00:00 2001 From: Sean Thomas Burke Date: Mon, 15 Jul 2013 17:49:43 -0700 Subject: [PATCH] Fixed bug which displayed direct count instead of redirect count The pie graph shows both redirect and direct statistics, but the count only reflects the direct count in the summary. --- yourls-infos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yourls-infos.php b/yourls-infos.php index 6c9ebef..ac43fb0 100644 --- a/yourls-infos.php +++ b/yourls-infos.php @@ -518,7 +518,7 @@ yourls_stats_pie( array( yourls__( 'Direct' ) => $direct, yourls__( 'Referrers' ) => $notdirect ), 5, '440x220', 'stat_tab_source_direct' ); ?>

%s hit', '%s hits', $direct ), $direct ); ?>

-

%s hit', '%s hits', $notdirect ), $direct ); ?>

+

%s hit', '%s hits', $notdirect ), $notdirect ); ?>

-- 2.45.0