fixed missing global user
This commit is contained in:
+1
-1
@@ -217,7 +217,7 @@ function build_mnet_logs_array($hostid, $course, $user=0, $date=0, $order="l.tim
|
||||
|
||||
function build_logs_array($course, $user=0, $date=0, $order="l.time ASC", $limitfrom='', $limitnum='',
|
||||
$modname="", $modid=0, $modaction="", $groupid=0) {
|
||||
global $DB, $SESSION;
|
||||
global $DB, $SESSION, $USER;
|
||||
// It is assumed that $date is the GMT time of midnight for that day,
|
||||
// and so the next 86400 seconds worth of logs are printed.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user