Format code

1.10.x
Julio Montoya 10 years ago
parent 666962cd2c
commit 453dfb6544
  1. 7
      main/gamification/my_progress.php

@ -90,7 +90,6 @@ $template->assign('current_session', $currentSession);
if ($currentSession) {
$sessionData = [];
$sessionCourses = $currentSession->getCourses();
foreach ($sessionCourses as $sessionCourse) {
@ -101,7 +100,11 @@ if ($currentSession) {
'stats' => []
];
$learningPathList = new LearnpathList($user->getId(), $course->getCode(), $currentSession->getId());
$learningPathList = new LearnpathList(
$user->getId(),
$course->getCode(),
$currentSession->getId()
);
foreach ($learningPathList->list as $learningPathId => $learningPath) {
$courseData['stats'][] = [

Loading…
Cancel
Save