Skip to content

Commit 5227951

Browse files
ENGCOM-1301: Fixed setting of triggerRecollection flag #14719
- Merge Pull Request #14719 from philippsander/magento2:patch-1 - Merged commits: 1. 646de48
2 parents 800ae03 + 646de48 commit 5227951

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)