Skip to content

Commit 762ef17

Browse files
author
Oleksii Korshenko
authored
MAGETWO-84880: Duplicate array key #12513
2 parents 5641db5 + 910db83 commit 762ef17

File tree

2 files changed

+1
-3
lines changed
  • app/code/Magento
    • Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes
    • Downloadable/Helper

2 files changed

+1
-3
lines changed

app/code/Magento/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ public function getExtendedElement($switchAttributeCode)
142142
[
143143
'name' => "product[{$switchAttributeCode}]",
144144
'values' => $this->getOptions(),
145-
'value' => $switchAttributeCode,
146145
'class' => 'required-entry next-toinput',
147146
'no_span' => true,
148147
'disabled' => $this->isDisabledField(),

app/code/Magento/Downloadable/Helper/File.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,6 @@ public function getAllMineTypes()
766766
'xxyz' => 'chemical/x-xyz',
767767
'xzaz' => 'application/vnd.zzazz.deck+xml',
768768
'xzip' => 'application/zip',
769-
'xzmm' => 'application/vnd.handheld-entertainment+xml',
770-
'xodt' => 'application/x-vnd.oasis.opendocument.spreadsheet',
769+
'xzmm' => 'application/vnd.handheld-entertainment+xml'
771770
];
772771
}

0 commit comments

Comments
 (0)