Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gradebook MDL-23928 fixed grade history recording to correctly save t…

…he user id of the user making the change pt 2
  • Loading branch information...
commit 3318054d958b2bf53e00cdd02733f38e90d5895c 1 parent ca0cd9a
Andrew Davis authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/grade/grade_object.php
View
4 lib/grade/grade_object.php
@@ -212,7 +212,7 @@ function update($source=null) {
$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));
}
@@ -242,7 +242,7 @@ function delete($source=null) {
$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));
}
return true;
Please sign in to comment.
Something went wrong with that request. Please try again.