mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-07-01 00:49:33 +02:00
BUG Fix missing return in ReadonlyField
This commit is contained in:
parent
5d26035a51
commit
43f2680af8
|
@ -68,7 +68,7 @@ class ReadonlyField extends FormField {
|
||||||
if($this->dontEscape) {
|
if($this->dontEscape) {
|
||||||
return $this->value;
|
return $this->value;
|
||||||
} else {
|
} else {
|
||||||
Convert::raw2xml($this->value);
|
return Convert::raw2xml($this->value);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$value = '(' . _t('FormField.NONE', 'none') . ')';
|
$value = '(' . _t('FormField.NONE', 'none') . ')';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user