From 9561a365aab11ca6a64a1f23d99edcf3dc8af5f5 Mon Sep 17 00:00:00 2001 From: mckmonster Date: Sat, 27 Jul 2024 17:40:54 +0200 Subject: [PATCH] =?UTF-8?q?On=20ne=20cr=C3=A9=C3=A9=20des=20notes=20que=20?= =?UTF-8?q?pour=20les=20personnes=20du=20controle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/controle/Controle.lib.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/controle/Controle.lib.php b/libs/controle/Controle.lib.php index 66e01ca..7f26949 100644 --- a/libs/controle/Controle.lib.php +++ b/libs/controle/Controle.lib.php @@ -32,7 +32,8 @@ class Controle { public function createNotes(NoteManager $noteManager) { foreach ($this->eleves as $eleve => $note) { - $noteManager->createNote($this->intitule, $eleve, $this->matiere, $note, $this->coef); + if (!empty($note)) + $noteManager->createNote($this->intitule, $eleve, $this->matiere, $note, $this->coef); }; } } \ No newline at end of file