diff --git a/bin/cliservstats.pl b/bin/cliservstats.pl index 6e3a575..a38cba0 100644 --- a/bin/cliservstats.pl +++ b/bin/cliservstats.pl @@ -143,7 +143,7 @@ if ($OptReportType and $OptReportType ne 'default') { my $Field = ($GroupBy eq 'month') ? $OptType : 'month'; my ($MaxLength,$MaxValLength) = &GetMaxLength($DBHandle,$Conf{'DBTable'}, $Field,'postings',$SQLWhereClause, - @SQLBindNames); + '',@SQLBindNames); ### build and execute SQL query my ($DBQuery); diff --git a/doc/ChangeLog b/doc/ChangeLog index 9dd4129..2410fcd 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -18,6 +18,7 @@ NewsStats 0.3.0 (unreleased) * Update README, INSTALL and ChangeLog. * Don't enforce --nocomment for --filetemplate, just default to it. Change caption handling, update documentation accordingly. + * Fix call to GetMaxLength() in cliservstats. NewsStats 0.2.0 (2025-05-10) * Redo directory structure: