Merge pull request #1313 from jloguercio/1.11.x

Minor fix to avoid notice
pull/2487/head
José Loguercio 9 years ago committed by GitHub
commit da9f4c416c
  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