소스 검색

Fix this_section variable

Angel Fernando Quiroz Campos 9 년 전
부모
커밋
10ce9ae700
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      user_portal.php

+ 3 - 1
user_portal.php

@@ -21,7 +21,9 @@ use ChamiloSession as Session;
 $cidReset = true;
 
 // For HTML editor repository.
-Session::erase('this_section');
+if (isset($_SESSION['this_section'])) {
+    unset($_SESSION['this_section']);
+}
 
 /* Included libraries */
 require_once './main/inc/global.inc.php';