Browse Source

Fix warnings in manual assignation of skill to user

Yannick Warnier 7 years ago
parent
commit
0edd036565
1 changed files with 1 additions and 0 deletions
  1. 1 0
      main/badge/assign.php

+ 1 - 0
main/badge/assign.php

@@ -90,6 +90,7 @@ if ($profile) {
     $levels = $skillLevelRepo->findBy([
         'profile' => $profileId
     ]);
+    $profileLevels = [];
 
     foreach ($levels as $level) {
         $profileLevels[$level->getPosition()][$level->getId()] = $level->getName();