gradebook MDL-23928 fixed grade history recording to correctly save the user id of the user making the change

This commit is contained in:
Andrew Davis
2010-09-17 03:04:07 +00:00
parent 209a25197d
commit ca0cd9a253
+1 -1
View File
@@ -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));
}