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