Skip to content

Commit

Permalink
Plugin: Custom certificate: Fix bug for certificates with learnpath i…
Browse files Browse the repository at this point in the history
…ndex as content type
  • Loading branch information
juancp-contidosdixitais authored Oct 18, 2024
1 parent c8748f8 commit aa3f62c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main/lp/learnpathList.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugin/customcertificate/src/print_certificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class="caraA"

$list = new LearnpathList(
$studentId,
$courseCode,
$courseInfo,
$sessionId,
null,
false,
Expand Down

0 comments on commit aa3f62c

Please sign in to comment.