# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/course/report/log/indexlive.php
--- moodle/course/report/log/indexlive.php Base (1.1.2.2)
+++ moodle/course/report/log/indexlive.php Locally Modified (Based On 1.1.2.2)
@@ -6,7 +6,7 @@
     require_once('lib.php');
     require_once($CFG->libdir.'/adminlib.php');
 
-    $id = optional_param('id', 0, PARAM_INT);// Course ID
+    $id = optional_param('id', SITEID, PARAM_INT);// Course ID
 
     if (!$course = get_record('course', 'id', $id) ) {
         error('That\'s an invalid course id'.$id);
