Change $_SESSION variable with ChamiloSession - BT#12220

remotes/angel/1.11.x
José Loguercio 8 years ago
parent 8f68f876d5
commit e424cf0884
  1. 4
      main/inc/lib/sessionmanager.lib.php

@ -8177,8 +8177,8 @@ class SessionManager
*/
public static function redirectToSession()
{
$sessionId = isset($_SESSION['session_redirect']) ? $_SESSION['session_redirect'] : null;
$onlyOneCourseSessionToRedirect = isset($_SESSION['only_one_course_session_redirect']) ? $_SESSION['only_one_course_session_redirect'] : null;
$sessionId = ChamiloSession::read('session_redirect');
$onlyOneCourseSessionToRedirect = ChamiloSession::read('only_one_course_session_redirect');
$userId = api_get_user_id();
$sessionInfo = api_get_session_info($sessionId);

Loading…
Cancel
Save