Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix missing form element setType() issue in /badges/mybackpack.php

  • Loading branch information...
commit 8d107e982d5952d7936c0f0a56a8dc6072b06f08 1 parent 422f68f
Yuliya Bozhko ybozhko authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  badges/backpack_form.php
1  badges/backpack_form.php
@@ -86,6 +86,7 @@ public function definition() {
86 86 $mform->addElement('static', 'url', get_string('url'), 'http://backpack.openbadges.org');
87 87
88 88 $mform->addElement('text', 'email', get_string('email'), array('size' => '50'));
  89 + $mform->setType('email', PARAM_EMAIL);
89 90 $mform->setDefault('email', $data->email);
90 91 $mform->freeze(array('email'));
91 92

0 comments on commit 8d107e9

Please sign in to comment.
Something went wrong with that request. Please try again.