Skip to content

Commit

Permalink
Merge branch 'MDL-46073_master' of https://github.com/totara/openbadges
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Jul 14, 2014
2 parents 2cd64c9 + 17f5e50 commit 1cae31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badges/edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function definition() {
$mform->addRule('name', get_string('maximumchars', '', 255), 'maxlength', 255, 'client');

$mform->addElement('textarea', 'description', get_string('description', 'badges'), 'wrap="virtual" rows="8" cols="70"');
$mform->setType('description', PARAM_CLEANHTML);
$mform->setType('description', PARAM_NOTAGS);
$mform->addRule('description', null, 'required');

$str = $action == 'new' ? get_string('badgeimage', 'badges') : get_string('newimage', 'badges');
Expand Down

0 comments on commit 1cae31e

Please sign in to comment.