Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-29239 fixed edit course setting for moodle/course:changesummary p…

…ermission is set to prevent.
  • Loading branch information...
commit 1b8755325a8be4b337f7beb32385da008c5f5f33 1 parent bdfd90b
@rwijaya rwijaya authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 lib/form/editor.php
View
11 lib/form/editor.php
@@ -58,7 +58,7 @@ function setValue($values) {
}
function getValue() {
- return $this->getAttribute('value');
+ return $this->_values;
}
function getMaxbytes() {
@@ -276,4 +276,13 @@ function toHtml() {
return $str;
}
+ /**
+ * What to display when element is frozen.
+ *
+ * @return empty string
+ */
+ function getFrozenHtml() {
+
+ return '';
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.