Permalink
Browse files

MINOR Making $title optional in TreeMultiselectField to comply with p…

…arent implementation
  • Loading branch information...
1 parent b5421d9 commit d535847f27717959fe508e2fa0c4eda71a1c029f @chillu chillu committed Dec 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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';
}

0 comments on commit d535847

Please sign in to comment.