Bladeren bron

Merge branch 'hotfix/hotfix_231003_2'

master
Guillaume Bourgeois 1 jaar geleden
bovenliggende
commit
8ada9eaf90
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. +2
    -1
      common/logic/Distribution/ProductDistribution/Service/ProductDistributionBuilder.php

+ 2
- 1
common/logic/Distribution/ProductDistribution/Service/ProductDistributionBuilder.php Bestand weergeven

@@ -105,9 +105,10 @@ class ProductDistributionBuilder extends AbstractBuilder
$distributionsIncomingArray = $this->distributionRepository->findDistributionsIncoming(true);
foreach($distributionsIncomingArray as $distribution) {
ProductDistribution::updateAll([
'active' => false
], [
'id_product' => $product->id,
'id_distribution' => $distribution->id,
'active' => false
]);
}
}

Laden…
Annuleren
Opslaan