Skip to content

Commit

Permalink
live log MDL-20994 made "block editing on" button work on live logs page
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Davis committed Dec 17, 2009
1 parent 6b8e4d3 commit c85a042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions course/report/log/indexlive.php
Expand Up @@ -6,7 +6,7 @@
require_once('lib.php'); require_once('lib.php');
require_once($CFG->libdir.'/adminlib.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) ) { if (!$course = get_record('course', 'id', $id) ) {
error('That\'s an invalid course id'.$id); error('That\'s an invalid course id'.$id);
Expand All @@ -21,7 +21,7 @@
$strreports = get_string('reports'); $strreports = get_string('reports');


if ($course->id == SITEID) { if ($course->id == SITEID) {
admin_externalpage_setup('reportloglive'); admin_externalpage_setup('reportloglive','',array('id' => $course->id));
admin_externalpage_print_header(); admin_externalpage_print_header();


} else { } else {
Expand Down

0 comments on commit c85a042

Please sign in to comment.