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) { if ($currentSession) {
$sessionData = []; $sessionData = [];
$sessionCourses = $currentSession->getCourses(); $sessionCourses = $currentSession->getCourses();
foreach ($sessionCourses as $sessionCourse) { foreach ($sessionCourses as $sessionCourse) {
@ -101,7 +100,11 @@ if ($currentSession) {
'stats' => [] '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) { foreach ($learningPathList->list as $learningPathId => $learningPath) {
$courseData['stats'][] = [ $courseData['stats'][] = [

Loading…
Cancel
Save