From 30733f54adbabe2184371553a6bab89beb83b998 Mon Sep 17 00:00:00 2001 From: Sandra Kuipers Date: Mon, 24 Jun 2024 12:15:47 +0800 Subject: [PATCH] v5.22.12 - part 2 --- Free Learning/units_browse_details.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Free Learning/units_browse_details.php b/Free Learning/units_browse_details.php index 34806df..3f67412 100755 --- a/Free Learning/units_browse_details.php +++ b/Free Learning/units_browse_details.php @@ -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)]).'
'; } }