diff --git a/lib/form/editor.php b/lib/form/editor.php index 3832b5000c236..bd21972b7cf88 100644 --- a/lib/form/editor.php +++ b/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 ''; + } }