diff --git a/main/lp/learnpathList.class.php b/main/lp/learnpathList.class.php index 700d089d75d..1c523586580 100755 --- a/main/lp/learnpathList.class.php +++ b/main/lp/learnpathList.class.php @@ -28,7 +28,7 @@ class LearnpathList * (only displays) items if he has enough permissions to view them. * * @param int $user_id - * @param array $courseInfo Optional course code (otherwise we use api_get_course_id()) + * @param array $courseInfo Optional course info array (otherwise we use api_get_course_info()) * @param int $session_id Optional session id (otherwise we use api_get_session_id()) * @param string $order_by * @param bool $check_publication_dates diff --git a/plugin/customcertificate/src/print_certificate.php b/plugin/customcertificate/src/print_certificate.php index 76b4331f659..75d2c42dff5 100644 --- a/plugin/customcertificate/src/print_certificate.php +++ b/plugin/customcertificate/src/print_certificate.php @@ -402,7 +402,7 @@ class="caraA" $list = new LearnpathList( $studentId, - $courseCode, + $courseInfo, $sessionId, null, false,