mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Making $title optional in TreeMultiselectField to comply with parent implementation
This commit is contained in:
parent
b5421d9598
commit
d535847f27
@ -36,7 +36,7 @@
|
||||
* @subpackage fields-relational
|
||||
*/
|
||||
class TreeMultiselectField extends TreeDropdownField {
|
||||
function __construct($name, $title, $sourceObject = "Group", $keyField = "ID", $labelField = "Title") {
|
||||
function __construct($name, $title = null, $sourceObject = "Group", $keyField = "ID", $labelField = "Title") {
|
||||
parent::__construct($name, $title, $sourceObject, $keyField, $labelField);
|
||||
$this->value = 'unchanged';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user