mirror of
https://github.com/silverstripe/silverstripe-tagfield
synced 2024-10-22 11:05:32 +02:00
Revert default argument change
This commit is contained in:
parent
690f0cc793
commit
ce8ba85182
@ -66,11 +66,11 @@ class TagField extends DropdownField
|
||||
/**
|
||||
* @param string $name
|
||||
* @param string $title
|
||||
* @param null|DataList $source
|
||||
* @param null|DataList|array $source
|
||||
* @param null|DataList $value
|
||||
* @param string $titleField
|
||||
*/
|
||||
public function __construct($name, $title = '', $source = null, $value = null, $titleField = 'Title')
|
||||
public function __construct($name, $title = '', $source = [], $value = null, $titleField = 'Title')
|
||||
{
|
||||
$this->setTitleField($titleField);
|
||||
parent::__construct($name, $title, $source, $value);
|
||||
|
Loading…
Reference in New Issue
Block a user