From 5638ec6950ac5742175d7e6656c18af873b43cfd Mon Sep 17 00:00:00 2001 From: John D'Orazio Date: Wed, 11 May 2022 01:12:14 +0200 Subject: [PATCH] fix variable refactoring --- LitCalRegionalData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LitCalRegionalData.php b/LitCalRegionalData.php index 0269a0ba..6945b0d8 100644 --- a/LitCalRegionalData.php +++ b/LitCalRegionalData.php @@ -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}; } } }