Permalink
Browse files

MDL-43399 Badge: the Choose... option can still be selected once a ro…

…le is choosen.
  • Loading branch information...
1 parent b3f2d75 commit 7da2b5e2314af540d8c623c8d5be8255ff8c8396 @mouneyrac mouneyrac committed Dec 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 badges/award.php
View
2 badges/award.php
@@ -106,7 +106,7 @@
$pageurl = new moodle_url('/badges/award.php', array('id' => $badgeid));
$issuerrole = new stdClass();
$issuerrole->roleid = $role;
- $roleselect = get_string('selectaward', 'badges') . $OUTPUT->single_select(new moodle_url($pageurl), 'role', $select, $role);
+ $roleselect = get_string('selectaward', 'badges') . $OUTPUT->single_select(new moodle_url($pageurl), 'role', $select, $role, null);
}
} else {
echo $OUTPUT->header();

0 comments on commit 7da2b5e

Please sign in to comment.