BUGFIX: pass $allowHTML through to the parent class

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@95339 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Will Rossiter 2009-12-15 00:07:00 +00:00 committed by Sam Minnee
parent b359180355
commit ea670119db

View File

@ -28,9 +28,7 @@ class LabelField extends DatalessField {
$form = (isset($args[3])) ? $args[3] : null; $form = (isset($args[3])) ? $args[3] : null;
} }
$this->allowHTML = $allowHTML; parent::__construct($name, $title, null, $allowHTML, $form);
parent::__construct($name, $title, null, $form);
} }
/** /**