Skip to content

Commit

Permalink
Merge remote-tracking branch 'mainline/develop' into S50
Browse files Browse the repository at this point in the history
Conflicts:
	lib/internal/Magento/Framework/App/Test/Unit/View/Deployment/VersionTest.php
  • Loading branch information
vpaladiychuk committed Apr 3, 2015
2 parents f61786c + 9ae0a13 commit 677e8cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Quote/Model/Quote.php
Original file line number Diff line number Diff line change
Expand Up @@ -1538,8 +1538,8 @@ public function addProduct(
/**
* Error message
*/
if (is_string($cartCandidates)) {
return $cartCandidates;
if (is_string($cartCandidates) || $cartCandidates instanceof \Magento\Framework\Phrase) {
return strval($cartCandidates);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ AdminOrder.prototype = {
if (confirm(confirmMessage)) {
this.collectElementsValue = false;
order.sidebarApplyChanges({'sidebar[empty_customer_cart]': 1});
this.collectElementsValue = true;
}
},

Expand Down

0 comments on commit 677e8cb

Please sign in to comment.