From 86de9298462aa03739051b6246f3f1a6318d5582 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Tue, 17 Jan 2017 11:49:03 +0200 Subject: [PATCH] rm node nodule --- frontend/widgets/Seo.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/widgets/Seo.php b/frontend/widgets/Seo.php index ac3c5bd..423efce 100755 --- a/frontend/widgets/Seo.php +++ b/frontend/widgets/Seo.php @@ -477,7 +477,10 @@ class Seo extends Widget public function addPage($string){ - return $string." - страница {$this->page}"; + if($this->page && $this->page!=1){ + return $string." - страница {$this->page}"; + } + return $string; } } \ No newline at end of file -- libgit2 0.21.4