Permalink
Browse files

MDL-38934 - fix missing setType() calls in advanced grading forms

  • Loading branch information...
danpoltawski committed Apr 8, 2013
1 parent 422f68f commit 7925d3ff1026dbac07f38633278820ee836aa3e0
Showing with 2 additions and 0 deletions.
  1. +1 −0 grade/grading/form/guide/edit_form.php
  2. +1 −0 grade/grading/form/rubric/edit_form.php
@@ -48,6 +48,7 @@ public function definition() {
$form->setType('areaid', PARAM_INT);
$form->addElement('hidden', 'returnurl');
$form->setType('returnurl', PARAM_LOCALURL);
// Name.
$form->addElement('text', 'name', get_string('name', 'gradingform_guide'), array('size'=>52));
@@ -47,6 +47,7 @@ public function definition() {
$form->setType('areaid', PARAM_INT);
$form->addElement('hidden', 'returnurl');
$form->setType('returnurl', PARAM_LOCALURL);
// name
$form->addElement('text', 'name', get_string('name', 'gradingform_rubric'), array('size'=>52));

0 comments on commit 7925d3f

Please sign in to comment.