Merge branch 'MDL-85312-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE

This commit is contained in:
Huong Nguyen
2025-10-17 10:19:09 +07:00
+1 -1
View File
@@ -134,7 +134,7 @@ class profile_field_menu extends profile_field_base {
}
if ($this->is_locked() and !has_capability('moodle/user:update', context_system::instance())) {
$mform->hardFreeze($this->inputname);
$mform->setConstant($this->inputname, format_string($this->datakey));
$mform->setConstant($this->inputname, $this->datakey);
}
}
/**