From 6afa9a62b9d6382c941cb5cb11b92fe73eca28f6 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Fri, 16 May 2025 21:09:59 +0200 Subject: [PATCH] Fix call to GetMaxLength(). Signed-off-by: Thomas Hochstein --- bin/cliservstats.pl | 2 +- doc/ChangeLog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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: