BUGFIX: $allowHTML argument was not passed to DatalessField::__construct

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@67363 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Hayden Smith 2008-12-03 23:02:24 +00:00 committed by Sam Minnee
parent 2381e480c3
commit eb80145291

View File

@ -27,7 +27,7 @@ class HeaderField extends DatalessField {
if($headingLevel) $this->headingLevel = $headingLevel;
$this->allowHTML = $allowHTML;
parent::__construct($name, $title, null, $form);
parent::__construct($name, $title, null, $allowHTML, $form);
}
function Field() {