mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
Fixed a typo
This commit is contained in:
parent
c64633f6f6
commit
89d57596bd
@ -38,7 +38,7 @@
|
||||
add_to_log($course->id, "user", "view", "view.php?id=$user->id&course=$course->id", "$user->id");
|
||||
|
||||
if ($course->id != SITEID) {
|
||||
if ($lastaccess = get_record('user_lastaccess', 'userid', $user->id, 'course', $course->id)) {
|
||||
if ($lastaccess = get_record('user_lastaccess', 'userid', $user->id, 'courseid', $course->id)) {
|
||||
$user->lastaccess = $lastaccess->timeaccess;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user