Global language get ignored
If a page has no language configured, the global language setting get ignored.
Cette révision appartient à :
Parent
b60772ac72
révision
c8232b612d
@ -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'];
|
||||
}
|
||||
}
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user