Skip to content

Commit

Permalink
ENGCOM-1301: Fixed setting of triggerRecollection flag #14719
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov authored Apr 22, 2018
2 parents cbf253d + 5227951 commit 549ff7e
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 549ff7e

Please sign in to comment.