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()
19561956 {
19571957 if (empty ($ this ->_shipments )) {
19581958 if ($ this ->getId ()) {
1959- $ this ->_shipments = $ this ->_shipmentCollectionFactory ->create ()->setOrderFilter ($ this )-> load () ;
1959+ $ this ->_shipments = $ this ->_shipmentCollectionFactory ->create ()->setOrderFilter ($ this );
19601960 } else {
19611961 return false ;
19621962 }
@@ -1973,7 +1973,7 @@ public function getCreditmemosCollection()
19731973 {
19741974 if (empty ($ this ->_creditmemos )) {
19751975 if ($ this ->getId ()) {
1976- $ this ->_creditmemos = $ this ->_memoCollectionFactory ->create ()->setOrderFilter ($ this )-> load () ;
1976+ $ this ->_creditmemos = $ this ->_memoCollectionFactory ->create ()->setOrderFilter ($ this );
19771977 } else {
19781978 return false ;
19791979 }
You can’t perform that action at this time.
0 commit comments