Skip to content

Commit a4541fe

Browse files
committed
Plugin: BuyCourses: Fix courses list index in catalogue - refs #2615
1 parent 1726c81 commit a4541fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/plugin/BuyCourses/src/buy_course_plugin.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3190,7 +3190,7 @@ private function filterCourseList($start, $end, $name = '', $min = 0, $max = 0,
31903190
foreach ($courseIds as $courseId) {
31913191
$courses[] = Database::getManager()->find(
31923192
Course::class,
3193-
$courseId
3193+
$courseId['id']
31943194
);
31953195
}
31963196

0 commit comments

Comments
 (0)