File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Sales/Model Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1956,7 +1956,7 @@ public function getShipmentsCollection()
1956
1956
{
1957
1957
if (empty ($ this ->_shipments )) {
1958
1958
if ($ this ->getId ()) {
1959
- $ this ->_shipments = $ this ->_shipmentCollectionFactory ->create ()->setOrderFilter ($ this )-> load () ;
1959
+ $ this ->_shipments = $ this ->_shipmentCollectionFactory ->create ()->setOrderFilter ($ this );
1960
1960
} else {
1961
1961
return false ;
1962
1962
}
@@ -1973,7 +1973,7 @@ public function getCreditmemosCollection()
1973
1973
{
1974
1974
if (empty ($ this ->_creditmemos )) {
1975
1975
if ($ this ->getId ()) {
1976
- $ this ->_creditmemos = $ this ->_memoCollectionFactory ->create ()->setOrderFilter ($ this )-> load () ;
1976
+ $ this ->_creditmemos = $ this ->_memoCollectionFactory ->create ()->setOrderFilter ($ this );
1977
1977
} else {
1978
1978
return false ;
1979
1979
}
You can’t perform that action at this time.
0 commit comments