Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 course/report/log/indexlive.php
4 course/report/log/indexlive.php
@@ -6,7 +6,7 @@
6 6 require_once('lib.php');
7 7 require_once($CFG->libdir.'/adminlib.php');
8 8
9   - $id = optional_param('id', 0, PARAM_INT);// Course ID
  9 + $id = required_param('id', PARAM_INT);// Course ID
10 10
11 11 if (!$course = get_record('course', 'id', $id) ) {
12 12 error('That\'s an invalid course id'.$id);
@@ -21,7 +21,7 @@
21 21 $strreports = get_string('reports');
22 22
23 23 if ($course->id == SITEID) {
24   - admin_externalpage_setup('reportloglive');
  24 + admin_externalpage_setup('reportloglive','',array('id' => $course->id));
25 25 admin_externalpage_print_header();
26 26
27 27 } else {

0 comments on commit c85a042

Please sign in to comment.
Something went wrong with that request. Please try again.