From d3b9384aac31d3899e3fd7813fdc1e69948b26bc Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Wed, 29 Jun 2016 10:59:32 +0300 Subject: [PATCH] 29.06.16 --- frontend/widgets/Seo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/widgets/Seo.php b/frontend/widgets/Seo.php index 0848c41..626dc8a 100755 --- a/frontend/widgets/Seo.php +++ b/frontend/widgets/Seo.php @@ -260,7 +260,7 @@ class Seo extends Widget public function getTitleString($array){ $template = "{category} {naz} {brand} {sex} {year} купить в Украине, Киев, Харькове - цены, фото, отзывы | Rukzachok.com.ua"; foreach ($array as $field_name => $field_value) { - $template = str_replace('{' . $field_name . '}', $field_value, $template); + $template = str_replace('{' . $field_name . '}', mb_strtolower($field_value), $template); } $template = preg_replace('/\{.[^\}]*\}\s/','',$template); return $template; -- libgit2 0.21.4