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 @@ -2001,7 +2001,7 @@ public function getShipmentsCollection()
20012001 {
20022002 if (empty ($ this ->_shipments )) {
20032003 if ($ this ->getId ()) {
2004- $ this ->_shipments = $ this ->_shipmentCollectionFactory ->create ()->setOrderFilter ($ this )-> load () ;
2004+ $ this ->_shipments = $ this ->_shipmentCollectionFactory ->create ()->setOrderFilter ($ this );
20052005 } else {
20062006 return false ;
20072007 }
@@ -2018,7 +2018,7 @@ public function getCreditmemosCollection()
20182018 {
20192019 if (empty ($ this ->_creditmemos )) {
20202020 if ($ this ->getId ()) {
2021- $ this ->_creditmemos = $ this ->_memoCollectionFactory ->create ()->setOrderFilter ($ this )-> load () ;
2021+ $ this ->_creditmemos = $ this ->_memoCollectionFactory ->create ()->setOrderFilter ($ this );
20222022 } else {
20232023 return false ;
20242024 }
You can’t perform that action at this time.
0 commit comments