Skip to content

Commit

Permalink
Fixed Typo Issue
Browse files Browse the repository at this point in the history
Fixed Typo Issue
  • Loading branch information
jitendra-cedcoss authored May 4, 2019
1 parent 19fcb92 commit 1f4e759
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private function prepareDefaultData(array $attributeList, string $attributeCode,
/** @var \Magento\Catalog\Model\ResourceModel\Eav\Attribute $attribute */
$attribute = $attributeList[$attributeCode];
$attributeType = $attribute->getBackendType();
// For non-numberic types set the attributeValue to 'false' to trigger their removal from the db
// For non-numeric types set the attributeValue to 'false' to trigger their removal from the db
if ($attributeType === 'varchar' || $attributeType === 'text' || $attributeType === 'datetime') {
$attribute->setIsRequired(false);
$productData[$attributeCode] = false;
Expand Down

0 comments on commit 1f4e759

Please sign in to comment.