瀏覽代碼

SiteController : correctif producer context

feature/souke
Guillaume Bourgeois 1 年之前
父節點
當前提交
955e36ebac
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      frontend/controllers/SiteController.php

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

@@ -390,6 +390,7 @@ class SiteController extends FrontendController
$signupForm = new SignupForm();
$producerManager = $this->getProducerManager();
$producer = $producerManager->findOneProducerById($id);
$this->getLogic()->setProducerContext($producer);
$loginForm->id_producer = $id;
$signupForm->id_producer = $id;
$signupForm->option_user_producer = 'user';

Loading…
取消
儲存