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';