Skip to content

Commit

Permalink
MDL-21248 workshop: yet another place violating not null feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Jan 7, 2010
1 parent d5ed6c3 commit f330bf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/workshop/assessments.php
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,7 @@
$element->workshopid = $workshop->id;
$element->assessmentid = $assessment->id;
$element->elementno = $i;
$element->feedback = '@@ GRADE_ADJUSTMENT @@';
$element->grade = $form->grade[$i];
if (!$element->id = insert_record("workshop_grades", $element)) {
error("Could not insert workshop grade!");
Expand Down

0 comments on commit f330bf4

Please sign in to comment.