From ff873550d95b96a9413b297f773926aabd46fe94 Mon Sep 17 00:00:00 2001 From: "Joseph P. White" Date: Wed, 22 Jan 2020 14:05:00 -0500 Subject: [PATCH] Fix report generation for annual and biannual reports. The report schedule text in the database for annual reports is "Annually" and for biannual reports "Semi-annually". The report generator had the wrong words. --- background_scripts/report_schedule_manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/background_scripts/report_schedule_manager.php b/background_scripts/report_schedule_manager.php index 8da1654317..73da2015f7 100644 --- a/background_scripts/report_schedule_manager.php +++ b/background_scripts/report_schedule_manager.php @@ -207,12 +207,12 @@ function getActiveFrequencies($verbose = false) $day_of_month == 3 && in_array($month_index, $semi_annual_start_months) ) { - $activeFrequencies[] = 'Semi-annual'; + $activeFrequencies[] = 'Semi-annually'; } // Annually (January 3rd) if ($month_index == 1 && $day_of_month == 3) { - $activeFrequencies[] = 'Annual'; + $activeFrequencies[] = 'Annually'; } return $activeFrequencies;