mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-49637 assign: Workflow & blind marking do not always show feedback
Before this patch if an assignment has workflow and blind marking enabled if a teacher sets a submission to have its grades released to students before they reveal student identities the feedback they have given is not displayed to the student. The patch causes the reveal_identities() method to pass the correct value to the get_feedback_plugin_by_type() function in the assign class.
This commit is contained in:
parent
6e972bdd34
commit
129d26aac4
1 changed files with 1 additions and 0 deletions
|
@ -5493,6 +5493,7 @@ class assign {
|
|||
|
||||
$adminconfig = $this->get_admin_config();
|
||||
$gradebookplugin = $adminconfig->feedback_plugin_for_gradebook;
|
||||
$gradebookplugin = str_replace('assignfeedback_', '', $gradebookplugin);
|
||||
$grades = $DB->get_records('assign_grades', array('assignment'=>$this->get_instance()->id));
|
||||
|
||||
$plugin = $this->get_feedback_plugin_by_type($gradebookplugin);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue