Skip to content

Commit 677e8cb

Browse files
author
vpaladiychuk
committed
Merge remote-tracking branch 'mainline/develop' into S50
Conflicts: lib/internal/Magento/Framework/App/Test/Unit/View/Deployment/VersionTest.php
2 parents f61786c + 9ae0a13 commit 677e8cb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/Quote/Model/Quote.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,8 +1538,8 @@ public function addProduct(
15381538
/**
15391539
* Error message
15401540
*/
1541-
if (is_string($cartCandidates)) {
1542-
return $cartCandidates;
1541+
if (is_string($cartCandidates) || $cartCandidates instanceof \Magento\Framework\Phrase) {
1542+
return strval($cartCandidates);
15431543
}
15441544

15451545
/**

app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ AdminOrder.prototype = {
668668
if (confirm(confirmMessage)) {
669669
this.collectElementsValue = false;
670670
order.sidebarApplyChanges({'sidebar[empty_customer_cart]': 1});
671+
this.collectElementsValue = true;
671672
}
672673
},
673674

0 commit comments

Comments
 (0)