From eda235904e295f15d5f06af994254a690ff2789d Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sun, 5 Apr 2020 16:40:35 +0200 Subject: [PATCH] [10.0.051] Bouton module pour les sous-pages --- core/core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index a5174a76..0d3366ce 100644 --- a/core/core.php +++ b/core/core.php @@ -2301,8 +2301,8 @@ class layout extends common { OR $this->getUrl(0) === '' ) { $leftItems .= '
  • ' . template::ico('pencil') . '
  • '; - if ($this->getData(['page', $this->getUrl(),'moduleId'])) { - $leftItems .= '
  • ' . template::ico('gear') . '
  • '; + if ($this->getData(['page', $this->getUrl(0),'moduleId'])) { + $leftItems .= '
  • ' . template::ico('gear') . '
  • '; } $leftItems .= '
  • ' . template::ico('trash') . '
  • '; }