diff --git a/view/ProductsView.php b/view/ProductsView.php index a4005b2..a6c452e 100755 --- a/view/ProductsView.php +++ b/view/ProductsView.php @@ -147,7 +147,7 @@ public function fetch() } // Устанавливаем мета-теги в зависимости от запроса - if ($this->page) { + if ($this->page && $this->page->visible) { $this->design->assign('meta_title', $this->page->meta_title); $this->design->assign('meta_keywords', $this->page->meta_keywords); $this->design->assign('meta_description', $this->page->meta_description);