@@ -132,7 +132,7 @@ trait AdminControllerTrait | |||
$merchant = $duplicateOtherMerchantForm->get('merchants')->getData(); | |||
if($this->isInstanceOf(ProductFamilyInterface::class)) { | |||
$this->getProductFamilyContainer()->getBuilder()->setMerchant($merchant); | |||
$this->getProductFamilyContainer()->getBuilder()->setMerchant($newEntity, $merchant); | |||
} | |||
else { | |||
$newEntity->setMerchant($merchant); |