From d73b5b8152c4a36b4508d45beaf6f96309c7c5e1 Mon Sep 17 00:00:00 2001 From: "John R. D'Orazio" Date: Sun, 7 Apr 2024 00:19:19 +0200 Subject: [PATCH] continue using civil calendar for tests --- LitCalHealth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LitCalHealth.php b/LitCalHealth.php index 5ca3db44..bd190b0e 100644 --- a/LitCalHealth.php +++ b/LitCalHealth.php @@ -178,9 +178,9 @@ private function executeValidation( object $validation, ConnectionInterface $to private function validateCalendar( string $Calendar, int $Year, string $category, ConnectionInterface $to ) : void { if( $Calendar === 'VATICAN' ) { - $req = "?year=$Year"; + $req = "?year=$Year&calendartype=CIVIL"; } else { - $req = "?$category=$Calendar&year=$Year"; + $req = "?$category=$Calendar&year=$Year&calendartype=CIVIL"; } $data = file_get_contents( self::LitCalBaseUrl . $req ); if( $data !== false ) {