Commit 8229efdc227d08e33d62579e3380f599e52a9ebb
1 parent
de64a785
-Price feed fix
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
frontend/controllers/SiteController.php
| ... | ... | @@ -263,7 +263,10 @@ class SiteController extends Controller |
| 263 | 263 | |
| 264 | 264 | foreach ($products as $product) |
| 265 | 265 | { |
| 266 | - | |
| 266 | + /** | |
| 267 | + * Fix for emty brands 14.03.2017 | |
| 268 | + */ | |
| 269 | + if (empty($product->brand)) continue; | |
| 267 | 270 | |
| 268 | 271 | print "<item>"; |
| 269 | 272 | print "<id>" . htmlspecialchars($product->variant->product_variant_id) . "</id>"; | ... | ... |