From 1657d0b6a98fb710740725a4bbd59b63be1e5948 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Fri, 23 Feb 2018 07:44:57 +0800 Subject: [PATCH] MDL-61444 question: hardFreeze tags element if no caps --- question/type/edit_question_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/question/type/edit_question_form.php b/question/type/edit_question_form.php index dd3be4b467e..48f35dae6ea 100644 --- a/question/type/edit_question_form.php +++ b/question/type/edit_question_form.php @@ -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'); } } -- 2.43.0