NULL no longer returned by $BRAND_ID and $LOGO_IMAGE_ID
This commit is contained in:
@@ -200,7 +200,7 @@ class Brand extends BaseI18nLoop implements PropelSearchLoopInterface, SearchLoo
|
|||||||
->set("META_KEYWORDS" , $brand->getVirtualColumn('i18n_META_KEYWORDS'))
|
->set("META_KEYWORDS" , $brand->getVirtualColumn('i18n_META_KEYWORDS'))
|
||||||
->set("POSITION" , $brand->getPosition())
|
->set("POSITION" , $brand->getPosition())
|
||||||
->set("VISIBLE" , $brand->getVisible())
|
->set("VISIBLE" , $brand->getVisible())
|
||||||
->set("LOGO_IMAGE_ID" , $brand->getLogoImageId())
|
->set("LOGO_IMAGE_ID" , $brand->getLogoImageId() ?: 0)
|
||||||
;
|
;
|
||||||
|
|
||||||
$loopResult->addRow($loopResultRow);
|
$loopResult->addRow($loopResultRow);
|
||||||
|
|||||||
@@ -1023,7 +1023,7 @@ class Product extends BaseI18nLoop implements PropelSearchLoopInterface, SearchL
|
|||||||
->set("TEMPLATE" , $product->getTemplateId())
|
->set("TEMPLATE" , $product->getTemplateId())
|
||||||
->set("DEFAULT_CATEGORY" , $default_category_id)
|
->set("DEFAULT_CATEGORY" , $default_category_id)
|
||||||
->set("TAX_RULE_ID" , $product->getTaxRuleId())
|
->set("TAX_RULE_ID" , $product->getTaxRuleId())
|
||||||
->set("BRAND_ID" , $product->getBrandId())
|
->set("BRAND_ID" , $product->getBrandId() ?: 0)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user