Remove invalid attributes

Headers do not have `type` & `name` attributes which are being inherited from the extended classes.
This commit is contained in:
Ralph Slooten 2016-04-26 09:45:52 +12:00
parent f80bdaba3b
commit 2c968d97a6

View File

@ -72,6 +72,8 @@ class HeaderField extends DatalessField {
array( array(
'id' => $this->ID(), 'id' => $this->ID(),
'class' => $this->extraClass(), 'class' => $this->extraClass(),
'type' => null,
'name' => null
) )
); );
} }