Skip to content

Commit a392746

Browse files
authored
Merge pull request #3590 from magento-engcom/2.2-develop-prs
[EngCom] Public Pull Requests - 2.2-develop
2 parents 523a83e + e759dba commit a392746

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function execute()
100100
$attributeCode
101101
);
102102

103-
if ($attribute->getId() && !$attributeId) {
103+
if ($attribute->getId() && !$attributeId || $attributeCode === 'product_type') {
104104
$message = strlen($this->getRequest()->getParam('attribute_code'))
105105
? __('An attribute with this code already exists.')
106106
: __('An attribute with the same code (%1) already exists.', $attributeCode);

app/code/Magento/Sales/view/frontend/templates/guest/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<form class="form form-orders-search" id="oar-widget-orders-and-returns-form" data-mage-init='{"ordersReturns":{}, "validation":{}}' action="<?= /* @escapeNotVerified */ $block->getActionUrl() ?>"
1111
method="post" name="guest_post">
1212
<fieldset class="fieldset">
13-
<legend class="admin__legend"><span><?= /* @escapeNotVerified */ __('Order Information') ?></span></legend>
13+
<legend class="legend"><span><?= /* @escapeNotVerified */ __('Order Information') ?></span></legend>
1414
<br>
1515

1616
<div class="field id required">

app/design/frontend/Magento/luma/web/css/source/components/_modals_extend.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@
8383

8484
.modal-slide {
8585
.action-close {
86-
padding: @modal-slide-action-close__padding;
86+
margin: 15px;
87+
padding: 0;
8788
}
8889

8990
.page-main-actions {

0 commit comments

Comments
 (0)