Permalink
Browse files

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

…ermission is set to prevent.
  • Loading branch information...
Rossiani Wijaya
Rossiani Wijaya committed Dec 12, 2011
1 parent 9283723 commit 1928113b3f44e6f20844c4418beee1b7a06c9c31
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 1928113

Please sign in to comment.