gradebook MDL-23928 fixed grade history recording to correctly save the user id of the user making the change
This commit is contained in:
@@ -303,7 +303,7 @@ class grade_object {
|
||||
$data->oldid = $this->id;
|
||||
$data->source = $source;
|
||||
$data->timemodified = time();
|
||||
$data->userlogged = $USER->id;
|
||||
$data->loggeduser = $USER->id;
|
||||
insert_record($this->table.'_history', addslashes_recursive($data));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user