mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
FIxed up logging when viewing submissions (database truncation in logs)
Thanks Eloy!
This commit is contained in:
parent
f8f63ecdd5
commit
4899c66789
6 changed files with 10 additions and 4 deletions
|
@ -136,7 +136,7 @@
|
|||
add_to_log($course->id, "assignment", "update grades", "submissions.php?id=$assignment->id", "$count users", $cm->id);
|
||||
notify(get_string("feedbackupdated", "assignment", $count));
|
||||
} else {
|
||||
add_to_log($course->id, "assignment", "view submissions", "submissions.php?id=$assignment->id", "$assignment->id", $cm->id);
|
||||
add_to_log($course->id, "assignment", "view submission", "submissions.php?id=$assignment->id", "$assignment->id", $cm->id);
|
||||
}
|
||||
|
||||
// Submission sorting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue