Skip to content

Commit

Permalink
MDL-40775 mod_feedback - Undefined variable in feedback activity
Browse files Browse the repository at this point in the history
  • Loading branch information
grabs committed Jul 26, 2013
1 parent bdd045c commit dd67e1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mod/feedback/import_form.php
Expand Up @@ -42,10 +42,8 @@ public function definition() {
$strnodeleteolditmes = get_string('append_new_items', 'feedback').
' ('.get_string('oldvaluespreserved', 'feedback').')';

$deleteolditemsarray = array();
$mform->addElement('radio', 'deleteolditems', '', $strdeleteolditmes, true);
$mform->addElement('radio', 'deleteolditems', '', $strnodeleteolditmes);
$mform->addGroup($deleteolditemsarray, 'deleteolditemsarray', '', array(''), false);

// hidden elements
$mform->addElement('hidden', 'id');
Expand Down

0 comments on commit dd67e1b

Please sign in to comment.