MDL-45804 mod_workshop: fixed objecttable specified for the submission_reassessed...
authorMark Nelson <markn@moodle.com>
Mon, 2 Jun 2014 23:33:54 +0000 (16:33 -0700)
committerMark Nelson <markn@moodle.com>
Mon, 2 Jun 2014 23:33:54 +0000 (16:33 -0700)
mod/workshop/classes/event/submission_reassessed.php

index f2c7ac5..e4022d9 100644 (file)
@@ -51,7 +51,7 @@ class submission_reassessed extends \core\event\base {
     protected function init() {
         $this->data['crud'] = 'u';
         $this->data['edulevel'] = self::LEVEL_PARTICIPATING;
-        $this->data['objecttable'] = 'workshop_assessment';
+        $this->data['objecttable'] = 'workshop_assessments';
     }
 
     /**