Reverted r76457

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@77676 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-05-24 22:18:50 +00:00 committed by Sam Minnee
parent 4ef5ab4661
commit dcc273a8e3

View File

@ -47,7 +47,7 @@ class TextareaField extends FormField {
return $this->createTag( return $this->createTag(
'span', 'span',
$attributes, $attributes,
($this->value) ? Convert::raw2xml($this->value) : '<i>(' . _t('FormField.NONE', 'none') . ')</i>' ($this->value ? $this->value : '<i>(' . _t('FormField.NONE', 'none') . ')</i>')
); );
} else { } else {
$attributes = array( $attributes = array(
@ -60,7 +60,7 @@ class TextareaField extends FormField {
if($this->disabled) $attributes['disabled'] = 'disabled'; if($this->disabled) $attributes['disabled'] = 'disabled';
return $this->createTag('textarea', $attributes, Convert::raw2xml($this->value)); return $this->createTag('textarea', $attributes, $this->value);
} }
} }