Skip to content

Commit

Permalink
Fixed setting of triggerRecollection falg
Browse files Browse the repository at this point in the history
  • Loading branch information
philippsander authored Apr 16, 2018
1 parent 800ae03 commit 646de48
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/code/Magento/Quote/Model/Quote.php
Original file line number Diff line number Diff line change
Expand Up @@ -2389,8 +2389,9 @@ protected function _afterLoad()
{
// collect totals and save me, if required
if (1 == $this->getTriggerRecollect()) {
$this->collectTotals()->save();
$this->setTriggerRecollect(0);
$this->collectTotals()
->setTriggerRecollect(0)
->save();
}
return parent::_afterLoad();
}
Expand Down

0 comments on commit 646de48

Please sign in to comment.