Skip to content

Commit

Permalink
fix variable refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed May 10, 2022
1 parent b81b868 commit 5638ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LitCalRegionalData.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private function retrieveRegionalCalendar() {
if( file_exists( "nations/{$uKey}/{$locale}.json" ) ) {
$localeData = json_decode( file_get_contents( "nations/{$uKey}/{$locale}.json" ) );
foreach( $this->RESPONSE->LitCal as $idx => $el ) {
$this->RESPONSE->LitCal[$idx]->Festivity->name = $localeData->{$response->LitCal[$idx]->Festivity->tag};
$this->RESPONSE->LitCal[$idx]->Festivity->name = $localeData->{$this->RESPONSE->LitCal[$idx]->Festivity->tag};
}
}
}
Expand Down

0 comments on commit 5638ec6

Please sign in to comment.