Sfoglia il codice sorgente

SiteController : correctif producer context

feature/souke
Guillaume Bourgeois 1 anno fa
parent
commit
955e36ebac
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      frontend/controllers/SiteController.php

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

@@ -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…
Annulla
Salva