Skip to content

Commit c8b48d0

Browse files
author
Stanislav Idolov
authored
ENGCOM-1366: [Forwardport] Fixed setting of triggerRecollection flag #14812
2 parents 65eb999 + dbe8f20 commit c8b48d0

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
@@ -2378,8 +2378,9 @@ protected function _afterLoad()
23782378
{
23792379
// collect totals and save me, if required
23802380
if (1 == $this->getTriggerRecollect()) {
2381-
$this->collectTotals()->save();
2382-
$this->setTriggerRecollect(0);
2381+
$this->collectTotals()
2382+
->setTriggerRecollect(0)
2383+
->save();
23832384
}
23842385
return parent::_afterLoad();
23852386
}

0 commit comments

Comments
 (0)