Skip to content

Commit 6c57103

Browse files
author
Oleksii Korshenko
authored
MAGETWO-84907: Duplicate array key #12519
2 parents e693e01 + aa7458c commit 6c57103

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
@@ -143,7 +143,6 @@ public function getExtendedElement($switchAttributeCode)
143143
[
144144
'name' => "product[{$switchAttributeCode}]",
145145
'values' => $this->getOptions(),
146-
'value' => $switchAttributeCode,
147146
'class' => 'required-entry next-toinput',
148147
'no_span' => true,
149148
'disabled' => $this->isDisabledField(),

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

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

0 commit comments

Comments
 (0)