Minor - format code

remotes/angel/1.11.x
jmontoyaa 8 years ago
parent 8255f25572
commit f0a480b235
  1. 3
      main/lp/download.php
  2. 2
      main/lp/lp_controller.php
  3. 1
      main/lp/lp_report.php

@ -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; exit;

@ -379,7 +379,7 @@ switch ($action) {
$_SESSION['refresh'] = 1; $_SESSION['refresh'] = 1;
if (isset($_POST['submit_button']) && !empty($post_title)) { if (isset($_POST['submit_button']) && !empty($post_title)) {
// If a title was sumbitted: // If a title was submitted:
//Updating the lp.modified_on //Updating the lp.modified_on
$_SESSION['oLP']->set_modified_on(); $_SESSION['oLP']->set_modified_on();

@ -4,6 +4,7 @@
/** /**
* Report from students for learning path * Report from students for learning path
*/ */
require_once __DIR__.'/../inc/global.inc.php'; require_once __DIR__.'/../inc/global.inc.php';
$isAllowedToEdit = api_is_allowed_to_edit(null, true); $isAllowedToEdit = api_is_allowed_to_edit(null, true);

Loading…
Cancel
Save