From c67a1c0e8ee75125be941979b0d6503a55b0318a Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 8 Jan 2023 20:09:42 +0100 Subject: [PATCH] 12100 Fix body.inc.html called twice --- core/core.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/core.php b/core/core.php index fc8a312b..1068a554 100644 --- a/core/core.php +++ b/core/core.php @@ -1380,9 +1380,6 @@ class common if ((sizeof($blocks) === 1 || in_array($this->getUrl(1), $pattern))) { // Pleine page en mode configuration $this->showContent(); - if (file_exists(self::DATA_DIR . 'body.inc.html')) { - include(self::DATA_DIR . 'body.inc.html'); - } } else { echo '
'; /** @@ -1412,9 +1409,6 @@ class common */ echo '
'; $this->showContent(); - if (file_exists(self::DATA_DIR . 'body.inc.html')) { - include(self::DATA_DIR . 'body.inc.html'); - } echo '
'; /** * Barre droite