Skip to content

Commit

Permalink
Merge branch 'MDL-52260-master-2' of git://github.com/xow/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao authored and stronk7 committed Dec 3, 2015
2 parents 40cd9f9 + 956caef commit 38e0faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function definition_after_data() {
if (!$mform->elementExists($formfield)) {
continue;
}
$value = $mform->getElementValue($formfield);
$value = $mform->getElement($formfield)->exportValue($mform->getElementValue($formfield)) ?: '';
$configvariable = 'field_lock_' . $field;
if (isset($authplugin->config->{$configvariable})) {
if ($authplugin->config->{$configvariable} === 'locked') {
Expand Down

0 comments on commit 38e0faa

Please sign in to comment.