Browse Source

Merge branch 'develop'

master
Guillaume Bourgeois 1 year ago
parent
commit
b1549a4186
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      frontend/controllers/SiteController.php

+ 1
- 0
frontend/controllers/SiteController.php View File

$signupForm = new SignupForm(); $signupForm = new SignupForm();
$producerManager = $this->getProducerManager(); $producerManager = $this->getProducerManager();
$producer = $producerManager->findOneProducerById($id); $producer = $producerManager->findOneProducerById($id);
$this->getLogic()->setProducerContext($producer);
$loginForm->id_producer = $id; $loginForm->id_producer = $id;
$signupForm->id_producer = $id; $signupForm->id_producer = $id;
$signupForm->option_user_producer = 'user'; $signupForm->option_user_producer = 'user';

Loading…
Cancel
Save