Commit d3b9384aac31d3899e3fd7813fdc1e69948b26bc
1 parent
ba6e1dc1
29.06.16
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/widgets/Seo.php
... | ... | @@ -260,7 +260,7 @@ class Seo extends Widget |
260 | 260 | public function getTitleString($array){ |
261 | 261 | $template = "{category} {naz} {brand} {sex} {year} купить в Украине, Киев, Харькове - цены, фото, отзывы | Rukzachok.com.ua"; |
262 | 262 | foreach ($array as $field_name => $field_value) { |
263 | - $template = str_replace('{' . $field_name . '}', $field_value, $template); | |
263 | + $template = str_replace('{' . $field_name . '}', mb_strtolower($field_value), $template); | |
264 | 264 | } |
265 | 265 | $template = preg_replace('/\{.[^\}]*\}\s/','',$template); |
266 | 266 | return $template; | ... | ... |