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()
2001
2001
{
2002
2002
if (empty ($ this ->_shipments )) {
2003
2003
if ($ this ->getId ()) {
2004
- $ this ->_shipments = $ this ->_shipmentCollectionFactory ->create ()->setOrderFilter ($ this )-> load () ;
2004
+ $ this ->_shipments = $ this ->_shipmentCollectionFactory ->create ()->setOrderFilter ($ this );
2005
2005
} else {
2006
2006
return false ;
2007
2007
}
@@ -2018,7 +2018,7 @@ public function getCreditmemosCollection()
2018
2018
{
2019
2019
if (empty ($ this ->_creditmemos )) {
2020
2020
if ($ this ->getId ()) {
2021
- $ this ->_creditmemos = $ this ->_memoCollectionFactory ->create ()->setOrderFilter ($ this )-> load () ;
2021
+ $ this ->_creditmemos = $ this ->_memoCollectionFactory ->create ()->setOrderFilter ($ this );
2022
2022
} else {
2023
2023
return false ;
2024
2024
}
You can’t perform that action at this time.
0 commit comments