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 and ihor-sviziev committed Apr 23, 2018
1 parent 58dd8e2 commit d0ceba3
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 @@ -2378,8 +2378,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 d0ceba3

Please sign in to comment.