Merge branch 'MDL-56323-master' of git://github.com/l-campbell/moodle
This commit is contained in:
@@ -208,7 +208,7 @@ class profile_field_base {
|
||||
* @param moodleform $mform instance of the moodleform class
|
||||
*/
|
||||
public function edit_field_set_default($mform) {
|
||||
if (!empty($default)) {
|
||||
if (!empty($this->field->defaultdata)) {
|
||||
$mform->setDefault($this->inputname, $this->field->defaultdata);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user