Commit c0eaf9d77161344fefba6ed5ea6cc95bd24be225
1 parent
f3f8709d
big commti
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
frontend/views/catalog/product.php
| ... | ... | @@ -455,7 +455,7 @@ FlipclockAsset::register($this); |
| 455 | 455 | </tr> |
| 456 | 456 | <tr class="full short"> |
| 457 | 457 | <td class="name">Бренд</td> |
| 458 | - <td class="value"><?= $product->brand->name ?></td> | |
| 458 | + <td class="value"><?= isset($product->brand) ? $product->brand->name : $product->brand->name ?></td> | |
| 459 | 459 | </tr> |
| 460 | 460 | <?php foreach($product->getActiveProperties($category->category_id) as $group): ?> |
| 461 | 461 | <tr class="full short gray"> | ... | ... |