Pārlūkot izejas kodu

[Administration] Correcit switchProducer

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

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

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

Notiek ielāde…
Atcelt
Saglabāt