mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-01 04:24:02 +01:00
Correct a misspelled variable name
This commit is contained in:
@@ -216,10 +216,10 @@ class MapProvider
|
|||||||
|
|
||||||
if ($this->cache->hasItem($cacheKey)) {
|
if ($this->cache->hasItem($cacheKey)) {
|
||||||
$cached = $this->cache->getItem($cacheKey);
|
$cached = $this->cache->getItem($cacheKey);
|
||||||
$achedData = $cached->get();
|
$cachedData = $cached->get();
|
||||||
$this->assets->fromArray($achedData['assets']);
|
$this->assets->fromArray($cachedData['assets']);
|
||||||
|
|
||||||
return $achedData['javascript'];
|
return $cachedData['javascript'];
|
||||||
} else {
|
} else {
|
||||||
$cached = $this->cache->getItem($cacheKey);
|
$cached = $this->cache->getItem($cacheKey);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user