Browse Source

Gestion des noms d'apprenants null

Mael ETIENNE 3 years ago
parent
commit
f1413e5432
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Services/ScormEngine.php

+ 3
- 0
Services/ScormEngine.php View File

@@ -535,6 +535,9 @@ class ScormEngine implements ContainerAwareInterface
535 535
             if (empty($learner)) {
536 536
                 $em = $this->getDoctrine()->getManager();
537 537
 
538
+                $familyName = $familyName ?? '';
539
+                $givenName = $givenName ?? '';
540
+
538 541
                 $learner = new Learner();
539 542
                 $learner->setLearnerKey($learnerKey);
540 543
                 $learner->setFamilyName($familyName);

Loading…
Cancel
Save