Skip to content

Commit

Permalink
MDL-29239 fixed edit course setting for moodle/course:changesummary p…
Browse files Browse the repository at this point in the history
…ermission is set to prevent.
  • Loading branch information
Rossiani Wijaya committed Dec 12, 2011
1 parent acb3bf8 commit f08f056
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/form/editor.php
Expand Up @@ -58,7 +58,7 @@ function setValue($values) {
}

function getValue() {
return $this->getAttribute('value');
return $this->_values;
}

function getMaxbytes() {
Expand Down Expand Up @@ -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.