Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…arent implementation
  • Loading branch information...
commit d535847f27717959fe508e2fa0c4eda71a1c029f 1 parent b5421d9
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  forms/TreeMultiselectField.php
View
2  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';
}
Please sign in to comment.
Something went wrong with that request. Please try again.