Correct a misspelled variable name

This commit is contained in:
Stefan Heimes
2023-01-11 12:15:30 +01:00
parent 8ab3cf286c
commit 91ba3ebf04

View File

@@ -216,10 +216,10 @@ class MapProvider
if ($this->cache->hasItem($cacheKey)) {
$cached = $this->cache->getItem($cacheKey);
$achedData = $cached->get();
$this->assets->fromArray($achedData['assets']);
$cachedData = $cached->get();
$this->assets->fromArray($cachedData['assets']);
return $achedData['javascript'];
return $cachedData['javascript'];
} else {
$cached = $this->cache->getItem($cacheKey);
}