Created
March 20, 2020 14:55
-
-
Save jordanvector/6594836df8db3ce7c97b7d5f9a54fb9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vendor/magento/module-quote/Model/ResourceModel/Quote.php b/vendor/magento/module-quote/Model/ResourceModel/Quote.php | |
index 71026ba3bc0..7f9e9733553 100644 | |
--- a/vendor/magento/module-quote/Model/ResourceModel/Quote.php | |
+++ b/vendor/magento/module-quote/Model/ResourceModel/Quote.php | |
@@ -62,6 +62,10 @@ class Quote extends AbstractDb | |
protected function _getLoadSelect($field, $value, $object) | |
{ | |
$select = parent::_getLoadSelect($field, $value, $object); | |
+ if ($this->getIdFieldName() === $field) { | |
+ return $select; | |
+ } | |
+ | |
$storeIds = $object->getSharedStoreIds(); | |
if ($storeIds) { | |
if ($storeIds != ['*']) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment