mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +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) {
|
||||
return $this->value;
|
||||
} else {
|
||||
Convert::raw2xml($this->value);
|
||||
return Convert::raw2xml($this->value);
|
||||
}
|
||||
} else {
|
||||
$value = '(' . _t('FormField.NONE', 'none') . ')';
|
||||
|
Loading…
Reference in New Issue
Block a user