Sfoglia il codice sorgente

Fix this_section variable

Angel Fernando Quiroz Campos 9 anni fa
parent
commit
10ce9ae700
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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';