Skip to content
Permalink
Browse files

MDL-43960 assign: Add missing include

There was a report of mod_assign_save_grade webservice failing because of this.
I couldn't reproduce it, but grepping the code found one place where this include
should be added.
  • Loading branch information...
damyon committed Mar 13, 2014
1 parent 1dc9317 commit 3cd6404f3b5791a64260131a9dbfacf7396c2f5a
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/assign/locallib.php
@@ -3719,7 +3719,9 @@ protected function convert_submission_for_gradebook(stdClass $submission) {
* @return bool
*/
protected function gradebook_item_update($submission=null, $grade=null) {
global $CFG;
require_once($CFG->dirroot.'/mod/assign/lib.php');
// Do not push grade to gradebook if blind marking is active as
// the gradebook would reveal the students.
if ($this->is_blind_marking()) {

0 comments on commit 3cd6404

Please sign in to comment.
You can’t perform that action at this time.