Skip to content

Commit

Permalink
liturgical_year may be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Oct 2, 2024
1 parent 2d98c9d commit b7a976a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/src/Festivity.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(array $LitEvent)
$this->grade_lcl = $LitEvent['grade_lcl'];
$this->common = $LitEvent['common'];
$this->common_lcl = $LitEvent['common_lcl'];
$this->liturgicalYear = $LitEvent['liturgical_year'];
$this->liturgicalYear = $LitEvent['liturgical_year'] ?? '';
$this->displayGrade = $LitEvent['display_grade'];
}
}

0 comments on commit b7a976a

Please sign in to comment.