Skip to content

Commit

Permalink
v5.22.12 - part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
SKuipers committed Jun 24, 2024
1 parent 409cc26 commit 30733f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Free Learning/units_browse_details.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
$output = __m('No Learning Areas available.');
} else {
for ($i = 0; $i < count($learningAreas); $i = $i + 2) {
if (is_numeric(strpos($values['gibbonDepartmentIDList'], $learningAreas[$i]))) {
if (is_numeric(strpos($values['gibbonDepartmentIDList'] ?? '', $learningAreas[$i]))) {
$output .= __($learningAreas[($i + 1)]).'<br/>';
}
}
Expand Down

0 comments on commit 30733f5

Please sign in to comment.