8
0

Global language get ignored

If a page has no language configured, the global language setting get ignored.
Dieser Commit ist enthalten in:
Tim Gerundt 2018-10-15 08:53:51 +02:00 committet von Stéphane Goetz
Ursprung b60772ac72
Commit c8232b612d

Datei anzeigen

@ -88,7 +88,7 @@ class Template
if (isset($this->engine->getData('page')['page'])) {
$page = $this->engine->getData('page');
if (is_array($page['page'])) {
if (!empty($page['page']['language'])) {
$language = $page['page']['language'];
}
}