Skip to content

Commit

Permalink
MDL-26546 Workshop: fixed embedded images in Number of errors grading…
Browse files Browse the repository at this point in the history
… form

Because of this typo, embedded images were not loaded when the
assessment form was re-edited. Thanks Helen Foster for spotting this.
  • Loading branch information
mudrd8mz committed Feb 22, 2011
1 parent 7c26c3f commit 1dade8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/workshop/form/numerrors/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function get_edit_strategy_form($actionurl=null) {
for ($i = 0; $i < $nodimensions; $i++) {
// prepare all editor elements
$fields = file_prepare_standard_editor($fields, 'description__idx_'.$i, $this->descriptionopts,
$PAGE->context, 'workshopform_numerror', 'description', $fields->{'dimensionid__idx_'.$i});
$PAGE->context, 'workshopform_numerrors', 'description', $fields->{'dimensionid__idx_'.$i});
}

$customdata = array();
Expand Down

0 comments on commit 1dade8b

Please sign in to comment.