diff --git a/commands/CreateFormsCommand.php b/commands/CreateFormsCommand.php index 9ae6adf..9b71463 100644 --- a/commands/CreateFormsCommand.php +++ b/commands/CreateFormsCommand.php @@ -92,7 +92,7 @@ EOT, "bn_only_one_entry_message" => null ]; - $this->createOrUpdate($formManager, $formId, $data); + $this->createOrUpdate($formManager, $this->absenceFormId, $data); } private function matiereList() @@ -134,7 +134,7 @@ EOT, "bn_only_one_entry_message" => null ]; - $this->createOrUpdate($formManager, $formId, $data); + $this->createOrUpdate($formManager, $this->noteFormId, $data); } private function classeList() @@ -172,7 +172,7 @@ EOT, "bn_only_one_entry_message" => null ]; - $this->createOrUpdate($formManager, $formId, $data); + $this->createOrUpdate($formManager, $this->eleveFormId, $data); } protected function execute(InputInterface $input, OutputInterface $output)