diff --git a/core/model/fieldtypes/Text.php b/core/model/fieldtypes/Text.php index eb9e72d2a..ae4927252 100644 --- a/core/model/fieldtypes/Text.php +++ b/core/model/fieldtypes/Text.php @@ -165,6 +165,7 @@ class Text extends DBField { // get first sentence? // this needs to be more robust + $result = ''; if($plain) $data = Convert::xml2raw( $this->value, true ); if( !$data )