fixed template rendering

fixed asset controller
This commit is contained in:
Maurice Grönwoldt 2020-09-11 20:22:26 +02:00
commit a087af311c
5 changed files with 9 additions and 12 deletions

View file

@ -53,9 +53,6 @@ class Language
if (!isset($this->languages[$this->language])) {
return $key;
}
if (isset($this->languages[$this->language][$key])) {
return $this->languages[$this->language][$key];
}
return $key;
return $this->languages[$this->language][$key] ?? $key;
}
}