Title Error fixing

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44088 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Romain Louis 2007-11-01 02:30:13 +00:00
parent eefc4ffc06
commit e78c785f0d

View File

@ -5,8 +5,8 @@
class LabelledLiteralField extends LiteralField {
function __construct( $name, $title, $content ) {
$this->title = $title;
parent::__construct( $name, $content );
$this->setTitle( $title );
}
function FieldHolder() {