Skip to content

Commit 387155a

Browse files
committed
fix stray array entry after array_find implementation
1 parent b5a17c8 commit 387155a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Paths/RegionalData.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ private function getRegionalCalendarData(): void
212212
switch ($this->params->category) {
213213
case 'DIOCESANCALENDAR':
214214
$CalendarDataI18nFile = strtr(JsonData::DIOCESAN_CALENDARS_I18N_FILE, [
215-
'{nation}' => $dioceseEntry[0]->nation,
215+
'{nation}' => $dioceseEntry->nation,
216216
'{diocese}' => $this->params->key,
217217
'{locale}' => $this->params->locale
218218
]);

0 commit comments

Comments
 (0)