瀏覽代碼

Correctif AdminControllerTrait.php

develop
Guillaume Bourgeois 1 年之前
父節點
當前提交
acf52fa80b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      Controller/AdminControllerTrait.php

+ 1
- 1
Controller/AdminControllerTrait.php 查看文件

@@ -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);

Loading…
取消
儲存