Skip to content

Commit

Permalink
Tracking: Consider student_follow_page_include_not_subscribed_lp_stud…
Browse files Browse the repository at this point in the history
…ents in export PDF - refs BT#18671
  • Loading branch information
AngelFQC committed May 27, 2021
1 parent 7ddce7f commit ccfad82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main/mySpace/student_follow_export.php
Expand Up @@ -161,6 +161,7 @@ function generateHtmlForLearningPaths(int $studentId, array $courseInfo, int $se
$columnHeadersKeys = array_keys($columnHeaders);

$hideInvisibleViews = api_get_configuration_value('student_follow_page_add_LP_invisible_checkbox');
$includeNotsubscribedLp = api_get_configuration_value('student_follow_page_include_not_subscribed_lp_students');

$timeCourse = Tracking::minimumTimeAvailable($sessionId, $courseInfo['real_id'])
? Tracking::getCalculateTime($student->getId(), $courseInfo['real_id'], $sessionId)
Expand All @@ -185,7 +186,7 @@ function generateHtmlForLearningPaths(int $studentId, array $courseInfo, int $se
$categoryId,
false,
false,
false
$includeNotsubscribedLp === true
);

$flatList = $lpList->get_flat_list();
Expand Down

0 comments on commit ccfad82

Please sign in to comment.