mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '4.1' into 4.2
This commit is contained in:
commit
7f69cc8f94
@ -30,7 +30,7 @@ class HeaderField extends DatalessField
|
||||
* @param string $title
|
||||
* @param int $headingLevel
|
||||
*/
|
||||
public function __construct($name, $title, $headingLevel = 2)
|
||||
public function __construct($name, $title = null, $headingLevel = 2)
|
||||
{
|
||||
$this->setHeadingLevel($headingLevel);
|
||||
parent::__construct($name, $title);
|
||||
|
Loading…
Reference in New Issue
Block a user