From 8229efdc227d08e33d62579e3380f599e52a9ebb Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 14 Mar 2017 15:24:45 +0200 Subject: [PATCH] -Price feed fix --- frontend/controllers/SiteController.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/controllers/SiteController.php b/frontend/controllers/SiteController.php index d68f7a6..217c56b 100755 --- a/frontend/controllers/SiteController.php +++ b/frontend/controllers/SiteController.php @@ -263,7 +263,10 @@ class SiteController extends Controller foreach ($products as $product) { - + /** + * Fix for emty brands 14.03.2017 + */ + if (empty($product->brand)) continue; print ""; print "" . htmlspecialchars($product->variant->product_variant_id) . ""; -- libgit2 0.21.4