Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-26546 Workshop: fixed embedded images in Number of errors grading…

… 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...
commit 1dade8b185111df4b39693bc45d8d49e928e7d7a 1 parent 7c26c3f
@mudrd8mz mudrd8mz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/workshop/form/numerrors/lib.php
View
2  mod/workshop/form/numerrors/lib.php
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.