MINOR Making $title optional in TreeMultiselectField to comply with parent implementation

This commit is contained in:
Ingo Schommer 2011-12-22 21:13:24 +01:00
parent b5421d9598
commit d535847f27

View File

@ -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';
}