Merge branch 'MDL-26546-workshop-restore' of git://github.com/mudrd8mz/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 22 Feb 2011 22:00:46 +0000 (23:00 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 22 Feb 2011 22:00:46 +0000 (23:00 +0100)
mod/workshop/form/numerrors/lib.php

index 078dd61..f43d175 100644 (file)
@@ -124,7 +124,7 @@ class workshop_numerrors_strategy implements workshop_strategy {
         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();