浏览代码

[Administration] Correcit switchProducer

feature/souke
Guillaume Bourgeois 1年前
父节点
当前提交
9abda816a7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      backend/controllers/SiteController.php

+ 1
- 1
backend/controllers/SiteController.php 查看文件

@@ -143,7 +143,7 @@ class SiteController extends BackendController
$producer = $this->getProducerContainer()->getRepository()->findOneProducerById($id);

if($producer) {
$this->getUserModule()->getServices()->getBuilder()->switchProducer($user, $producer);
$this->getUserModule()->getBuilder()->switchProducer($user, $producer);
}
else {
$this->addFlash('error', 'Producteur introuvable.');

正在加载...
取消
保存