Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

live log MDL-20994 made "block editing on" button work on live logs page

  • Loading branch information...
commit c85a0423831f612986432b795c809ccf65d17b5a 1 parent 6b8e4d3
Andrew Davis authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 course/report/log/indexlive.php
4 course/report/log/indexlive.php
View
@@ -6,7 +6,7 @@
require_once('lib.php');
require_once($CFG->libdir.'/adminlib.php');
- $id = optional_param('id', 0, PARAM_INT);// Course ID
+ $id = required_param('id', PARAM_INT);// Course ID
if (!$course = get_record('course', 'id', $id) ) {
error('That\'s an invalid course id'.$id);
@@ -21,7 +21,7 @@
$strreports = get_string('reports');
if ($course->id == SITEID) {
- admin_externalpage_setup('reportloglive');
+ admin_externalpage_setup('reportloglive','',array('id' => $course->id));
admin_externalpage_print_header();
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.