You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by cu...@apache.org on 2020/02/16 13:18:46 UTC

[whimsy] branch master updated: Fix bug

This is an automated email from the ASF dual-hosted git repository.

curcuru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 8c37d76  Fix bug
8c37d76 is described below

commit 8c37d764674153825e05286d9d6cf75b368d735c
Author: Shane Curcuru <as...@shanecurcuru.org>
AuthorDate: Sun Feb 16 08:18:33 2020 -0500

    Fix bug
    
    I guess no-one else uses the _json!
---
 www/members/list-traffic.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/members/list-traffic.cgi b/www/members/list-traffic.cgi
index 7e32d65..a2dc486 100755
--- a/www/members/list-traffic.cgi
+++ b/www/members/list-traffic.cgi
@@ -157,7 +157,7 @@ _json do
   months = Dir["#{SRV_MAIL}/*"].map {|path| File.basename(path).untaint}.grep(/^\d+$/)
   data = Hash.new {|h, k| h[k] = {} }
   months.sort.reverse.each do |month|
-    tmp = get_mails_month(yearmonth: month, nondiscuss: MailUtils::NONDISCUSSION_SUBJECTS["<#{LIST_ROOT}.apache.org>"])
+    tmp = MailUtils.get_mails_month(mailroot: SRV_MAIL, yearmonth: month, nondiscuss: MailUtils::NONDISCUSSION_SUBJECTS["<#{LIST_ROOT}.apache.org>"])
     next if tmp.empty?
     data[month][MailUtils::TOOLCOUNT] = tmp[MailUtils::TOOLCOUNT]
     data[month][MailUtils::MAILCOUNT] = tmp[MailUtils::MAILCOUNT]