diff --git a/core/core.php b/core/core.php index ef61dd50..542cbf46 100644 --- a/core/core.php +++ b/core/core.php @@ -1972,17 +1972,16 @@ class layout extends common { * Affiche le contenu */ public function showContent() { - if( - $this->core->output['title'] - AND ( - $this->getData(['page', $this->getUrl(0)]) === null - OR $this->getData(['page', $this->getUrl(0), 'hideTitle']) === false - ) - ) { - echo '

' . $this->core->output['title'] . '

'; - } - echo $this->core->output['content']; + if( + $this->core->output['title'] + AND ( + $this->getData(['page', $this->getUrl(0)]) === null + OR $this->getData(['page', $this->getUrl(0), 'hideTitle']) === false + ) + ) { + echo '

' . $this->core->output['title'] . '

'; } + echo $this->core->output['content']; } /**