Permalink
Browse files

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

…ermission is set to prevent.
  • Loading branch information...
1 parent acb3bf8 commit f08f05610b28e4b1db0a549d72b986a8c6b05b73 @rwijaya rwijaya committed Dec 12, 2011
Showing with 10 additions and 1 deletion.
  1. +10 −1 lib/form/editor.php
View
@@ -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 '';
+ }
}

0 comments on commit f08f056

Please sign in to comment.