Browse Source

Correctif AdminControllerTrait.php

develop
Guillaume Bourgeois 1 year ago
parent
commit
acf52fa80b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Controller/AdminControllerTrait.php

+ 1
- 1
Controller/AdminControllerTrait.php View File

$merchant = $duplicateOtherMerchantForm->get('merchants')->getData(); $merchant = $duplicateOtherMerchantForm->get('merchants')->getData();


if($this->isInstanceOf(ProductFamilyInterface::class)) { if($this->isInstanceOf(ProductFamilyInterface::class)) {
$this->getProductFamilyContainer()->getBuilder()->setMerchant($merchant);
$this->getProductFamilyContainer()->getBuilder()->setMerchant($newEntity, $merchant);
} }
else { else {
$newEntity->setMerchant($merchant); $newEntity->setMerchant($merchant);

Loading…
Cancel
Save