MDL-29239 fixed edit course setting for moodle/course:changesummary permission is set to prevent.
This commit is contained in:
+10
-1
@@ -58,7 +58,7 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element {
|
||||
}
|
||||
|
||||
function getValue() {
|
||||
return $this->getAttribute('value');
|
||||
return $this->_values;
|
||||
}
|
||||
|
||||
function getMaxbytes() {
|
||||
@@ -276,4 +276,13 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element {
|
||||
return $str;
|
||||
}
|
||||
|
||||
/**
|
||||
* What to display when element is frozen.
|
||||
*
|
||||
* @return empty string
|
||||
*/
|
||||
function getFrozenHtml() {
|
||||
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user