Pārlūkot izejas kodu

SiteController : correctif producer context

feature/souke
Guillaume Bourgeois pirms 1 gada
vecāks
revīzija
955e36ebac
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      frontend/controllers/SiteController.php

+ 1
- 0
frontend/controllers/SiteController.php Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt