Skip to content

Commit

Permalink
$CalEvent items are assoc arr not stdClass obj now
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Jan 25, 2025
1 parent 1529956 commit 4e7eebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Paths/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -4509,7 +4509,7 @@ private function produceIcal(\stdClass $SerializeableLitCal, \stdClass $GitHubRe
|| (is_array($CalEvent['color']) && count($CalEvent['color']) > 0 )
? "<BR>" . Utilities::parseColorString($CalEvent['color'], $this->CalendarParams->Locale, true)
: "";
$htmlDescription .= property_exists($CalEvent, 'liturgical_year')
$htmlDescription .= isset($CalEvent['liturgical_year'])
&& $CalEvent['liturgical_year'] !== null
&& $CalEvent['liturgical_year'] != ""
? '<BR>' . $CalEvent['liturgical_year'] . "</P>"
Expand Down

0 comments on commit 4e7eebf

Please sign in to comment.