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

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

commit 7615c639a3605a3c5703c6aec3bf911b8d917f0f
Author: Sebb <[email protected]>
AuthorDate: Thu Mar 12 15:59:35 2026 +0000

    Provide missing parameter
---
 www/officers/list-traffic.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/officers/list-traffic.cgi b/www/officers/list-traffic.cgi
index 29cbfd67..e0d29b2b 100755
--- a/www/officers/list-traffic.cgi
+++ b/www/officers/list-traffic.cgi
@@ -154,7 +154,7 @@ _json do
   months = Dir["#{SRV_MAIL}/*"].map {|path| File.basename(path)}.grep(/^\d+$/)
   data = Hash.new {|h, k| h[k] = {} }
   months.sort.reverse.each do |month|
-    tmp = MailUtils.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]

Reply via email to