12100 Fix body.inc.html called twice

This commit is contained in:
Fred Tempez 2023-01-08 20:09:42 +01:00
parent 552f2d7295
commit c67a1c0e8e
1 changed files with 0 additions and 6 deletions

View File

@ -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 '<div class="row siteContainer">';
/**
@ -1412,9 +1409,6 @@ class common
*/
echo '<div class="' . $content . '" id="contentSite">';
$this->showContent();
if (file_exists(self::DATA_DIR . 'body.inc.html')) {
include(self::DATA_DIR . 'body.inc.html');
}
echo '</div>';
/**
* Barre droite