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') . '
  • '; }