BUGFIX Fixed usage of FieldEditor->performReadonlyTransformation()

This commit is contained in:
Ingo Schommer 2009-02-24 02:56:38 +00:00
parent 459c127d51
commit 7b37a32b10

View File

@ -13,8 +13,9 @@ class FieldEditor extends FormField {
} }
function performReadonlyTransformation() { function performReadonlyTransformation() {
$this->readonly = true; $clone = clone $this;
return $this; $clone->setReadonly(true);
return $clone;
} }
function makeReadonly() { function makeReadonly() {