Commit 519e12c7 authored by Florian Joriot's avatar Florian Joriot
Browse files

Correction erreur

parent d038d8d8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ class IndicateurController extends AbstractActionController {
        $namespace = $this->params()->fromQuery('namespace');

        $form = $this->getIndicateurForm();
        $form->setAttribute('action', $this->url()->fromRoute('indicateur/modifier', ['indicateur' => $indicateur], ['query' => ['namespace' => $namespace]], true));
        $form->setAttribute('action', $this->url()->fromRoute('indicateur/modifier', ['indicateur' => $indicateur->getId()], ['query' => ['namespace' => $namespace]], true));
        if ($namespace) {
            $indicateur->setNamespace($namespace);
            $form->get('namespace')->setAttribute('readonly', true);