Commit 1c743d7f65430b269a5f63508ebb79b6e5a804b7

Authored by Alexey Boroda
1 parent 0b49910b

-Empty seo text fix

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/views/catalog/brand.php
... ... @@ -46,7 +46,7 @@ $this->params['breadcrumbs'][] = $brand->name;
46 46 <h1 class="title"><?= Seo::widget(['row' => 'h1']) ?></h1>
47 47  
48 48 <div class="brand-seo-text">
49   - <?=$brand->seo_text?>
  49 + <?= !empty(Seo::widget(['row' => Seo::SEO_TEXT])) ? Seo::widget(['row' => Seo::SEO_TEXT]) : $brand->seo_text?>
50 50 </div>
51 51 <div class="clearfix"></div>
52 52  
... ...