Commit 28c07ff946b31130d950fb36518a4b027e33b227
1 parent
e2a4136b
site map
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
widgets/Seo.php
| ... | ... | @@ -150,7 +150,7 @@ class Seo extends Widget |
| 150 | 150 | |
| 151 | 151 | $description = $this->selectSeoData(self::DESCRIPTION, $filter,$priority); |
| 152 | 152 | |
| 153 | - if (!empty($description)) { | |
| 153 | + if (!empty($description) && $priority!=3 ) { | |
| 154 | 154 | |
| 155 | 155 | $this->getView()->registerMetaTag([ |
| 156 | 156 | 'name' => 'description', |
| ... | ... | @@ -384,7 +384,6 @@ class Seo extends Widget |
| 384 | 384 | foreach($array as $name => $field){ |
| 385 | 385 | $row .= $field['value'].' ' ; |
| 386 | 386 | } |
| 387 | - | |
| 388 | 387 | $template = preg_replace('/{filter}/',$row, $description); |
| 389 | 388 | |
| 390 | 389 | return $template; | ... | ... |