From d535847f27717959fe508e2fa0c4eda71a1c029f Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 22 Dec 2011 21:13:24 +0100 Subject: [PATCH] MINOR Making $title optional in TreeMultiselectField to comply with parent implementation --- forms/TreeMultiselectField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/TreeMultiselectField.php b/forms/TreeMultiselectField.php index e53ca1397..4c199367a 100644 --- a/forms/TreeMultiselectField.php +++ b/forms/TreeMultiselectField.php @@ -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'; }