Skip to content

Commit 86f5bb2

Browse files
author
Leonid Poluyanov
committed
MAGETWO-37985: [MX][Virtual Team] Pull Request #2 - May 28
1 parent 2253bd9 commit 86f5bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Setup/UpgradeData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface
4343
['backend_model = ?' => 'Magento\Catalog\Model\Product\Attribute\Backend\Startdate']
4444
);
4545
/** @var \Magento\Catalog\Model\Resource\Eav\Attribute $attribute */
46-
foreach($this->category->getAttributes() as $attribute) {
46+
foreach ($this->category->getAttributes() as $attribute) {
4747
if ($attribute->getAttributeCode() == 'custom_design_from') {
4848
$attribute->setBackendModel($newBackendModel);
4949
$attribute->save();

0 commit comments

Comments
 (0)