Skip to content

Commit

Permalink
Fix object could not be converted to int
Browse files Browse the repository at this point in the history
  • Loading branch information
luigifab committed Apr 17, 2023
1 parent e83b135 commit 3f0af62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected function _prepareForm()
// If not applied to configurable
&& !in_array(Mage_Catalog_Model_Product_Type::TYPE_CONFIGURABLE, $attribute->getApplyTo())
// If not used in configurable
&& !in_array($attribute->getId(), $usedAttributes))
&& !array_key_exists($attribute->getId(), $usedAttributes))
// Or in additional
|| in_array($attributeCode, $attributesConfig['additional'])
) {
Expand Down

0 comments on commit 3f0af62

Please sign in to comment.