mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 14:02:32 +02:00
MDL-61444 question: hardFreeze tags element if no caps
This commit is contained in:
parent
d40b84e253
commit
1657d0b6a9
@ -207,7 +207,7 @@ abstract class question_edit_form extends question_wizard_form {
|
||||
array('itemtype' => 'question', 'component' => 'core_question'));
|
||||
|
||||
if (!question_has_capability_on($this->question, 'tag')) {
|
||||
$mform->freeze('tags');
|
||||
$mform->hardFreeze('tags');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user