Permalink
Browse files

MDL-34670 - undefined variable in feedback templates

  • Loading branch information...
1 parent 07d8e5c commit 1dd8dd84962cc8e377c493f9d2ec68585661a0f5 @grabs grabs committed with Sam Hemelryk Aug 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/feedback/edit_form.php
@@ -120,11 +120,11 @@ public function set_form_elements() {
$elementgroup[] =& $mform->createElement('submit',
'use_template',
get_string('use_this_template', 'feedback'));
+
+ $mform->addGroup($elementgroup, 'elementgroup', '', array(' '), false);
} else {
$mform->addElement('static', 'info', get_string('no_templates_available_yet', 'feedback'));
}
- $mform->addGroup($elementgroup, 'elementgroup', '', array(' '), false);
-
}
}

0 comments on commit 1dd8dd8

Please sign in to comment.