From: Frédéric Marchal Date: Sun, 13 Feb 2011 16:26:50 +0000 (+0000) Subject: Display the redirector link on the top users page X-Git-Tag: v2.3.2~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a759ea8cd3b1e04b91895371149f06715add26d;p=thirdparty%2Fsarg.git Display the redirector link on the top users page The previous commit (svn 518) disabled the link from the top user list to the redirector page. Thanks to Arnaud Florent for locating the cause of the problem. --- diff --git a/report.c b/report.c index a659890..d1d9a8c 100644 --- a/report.c +++ b/report.c @@ -352,8 +352,6 @@ void gerarel(void) if (!indexonly) tmpsort(); if(email[0] == '\0') { - topuser(); - if (!indexonly) { if((ReportType & REPORT_TYPE_DOWNLOADS) != 0) download_report(); @@ -362,7 +360,11 @@ void gerarel(void) } squidguard_log(); + } + topuser(); + + if (!indexonly) { if((ReportType & REPORT_TYPE_TOPSITES) != 0) topsites(); if((ReportType & REPORT_TYPE_SITES_USERS) != 0) siteuser();