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