Fix proble with PHP version

1.10.x
Angel Fernando Quiroz Campos 10 years ago
parent 284de9eec2
commit a47f82e0a1
  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