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