From 9316d9bca0bb9ba73e93fb6e450ba58e3ffcfbff Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 27 Jan 2019 18:28:29 +0100 Subject: [PATCH] Annulation modif pour module code --- core/core.php | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) 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']; } /**