Skip to content

Commit

Permalink
calendar name first from diocesan then national
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Apr 28, 2024
1 parent 4e3596f commit 7c4c67b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/LitCalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ private function getCalendarTypeStr(): string {
}

private function getCalendarName(): string {
return property_exists( $this->dataToTest->Settings, 'NationalCalendar' ) ? $this->dataToTest->Settings->NationalCalendar : (
property_exists( $this->dataToTest->Settings, 'DiocesanCalendar' ) ? $this->dataToTest->Settings->DiocesanCalendar : 'the Universal Roman Calendar'
return property_exists( $this->dataToTest->Settings, 'DiocesanCalendar' ) ? $this->dataToTest->Settings->DiocesanCalendar : (
property_exists( $this->dataToTest->Settings, 'NationalCalendar' ) ? $this->dataToTest->Settings->NationalCalendar : 'the Universal Roman Calendar'
);
}

Expand Down

0 comments on commit 7c4c67b

Please sign in to comment.