Merge branch '1.10.x' into bootstrap

1.10.x
aragonc 10 years ago
commit 92193aee9c
  1. 3
      main/gamification/my_progress.php

@ -33,8 +33,9 @@ if (empty($sessionId)) {
);
$lastCourseAccess = $trackCourseAccessRepository->getLastAccessByUser($user);
$lastSessionId = $lastCourseAccess->getSessionId();
if (!empty($lastCourseAccess->getSessionId())) {
if (!empty($lastSessionId)) {
$urlWithSession = api_get_self() . '?' . http_build_query([
'session_id' => $lastCourseAccess->getSessionId()
]);

Loading…
Cancel
Save