From 8f754af0caab38e8e6e05f909c5c3db9f636e87e Mon Sep 17 00:00:00 2001 From: mckmonster Date: Fri, 2 Aug 2024 18:20:35 +0200 Subject: [PATCH] fix createforms --- commands/CreateFormsCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)