Skip to content

Commit 549ff7e

Browse files
author
Stanislav Idolov
authored
ENGCOM-1301: Fixed setting of triggerRecollection flag #14719
2 parents cbf253d + 5227951 commit 549ff7e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/Quote/Model/Quote.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2389,8 +2389,9 @@ protected function _afterLoad()
23892389
{
23902390
// collect totals and save me, if required
23912391
if (1 == $this->getTriggerRecollect()) {
2392-
$this->collectTotals()->save();
2393-
$this->setTriggerRecollect(0);
2392+
$this->collectTotals()
2393+
->setTriggerRecollect(0)
2394+
->save();
23942395
}
23952396
return parent::_afterLoad();
23962397
}

0 commit comments

Comments
 (0)