Minor fix to avoid notice

pull/2487/head
José Loguercio 9 years ago
parent 997fa37c4a
commit db536ab252
  1. 2
      main/badge/issued_all.php

@ -125,7 +125,7 @@ foreach ($userSkills as $index => $skillIssue) {
if (!$profile && $parent['parent_id'] == 0) {
$profile = $skillLevelRepo->findAll();
$profile = $profile[0];
$profile = !empty($profile) ? $profile[0] : [];
}
}
}

Loading…
Cancel
Save