Commit c62fdb51fff418c17b7ddf6aed99bc215b86ac27
1 parent
4e8c4f53
-Filtering title from duplicates
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
widgets/Seo.php
| @@ -380,6 +380,9 @@ class Seo extends Widget | @@ -380,6 +380,9 @@ class Seo extends Widget | ||
| 380 | 380 | ||
| 381 | $row = ''; | 381 | $row = ''; |
| 382 | foreach($array as $name => $field){ | 382 | foreach($array as $name => $field){ |
| 383 | + if (isset($this->fields['name'])) { | ||
| 384 | + $field['value'] = str_replace($this->fields['name'], '', $field['value']); | ||
| 385 | + } | ||
| 383 | $row .= $field['value'].' ' ; | 386 | $row .= $field['value'].' ' ; |
| 384 | } | 387 | } |
| 385 | 388 |