Skip to content

Commit

Permalink
continue using civil calendar for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Apr 6, 2024
1 parent c1d9a75 commit d73b5b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LitCalHealth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit d73b5b8

Please sign in to comment.