@ -50,5 +50,6 @@ if ($_SESSION['oLP']) {
}
Display::display_error_message(get_lang('ProtectedDocument'));//api_not_allowed backbutton won't work.
Display::display_error_message(get_lang('ProtectedDocument'));
//api_not_allowed backbutton won't work.
exit;
@ -379,7 +379,7 @@ switch ($action) {
$_SESSION['refresh'] = 1;
if (isset($_POST['submit_button']) && !empty($post_title)) {
// If a title was sumbitted:
// If a title was submitted:
//Updating the lp.modified_on
$_SESSION['oLP']->set_modified_on();
@ -4,6 +4,7 @@
/**
* Report from students for learning path
*/
require_once __DIR__.'/../inc/global.inc.php';
$isAllowedToEdit = api_is_allowed_to_edit(null, true);