Merge remote-tracking branch 'origin/4.0' into 4.1

This commit is contained in:
Damian Mooyman 2018-04-04 17:36:45 +12:00
commit 99426cdb05
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ use SilverStripe\Forms\CheckboxSetField;
*/
class DBMultiEnum extends DBEnum
{
public function __construct($name, $enum = null, $default = null)
public function __construct($name = null, $enum = null, $default = null)
{
// MultiEnum needs to take care of its own defaults
parent::__construct($name, $enum, null);

View File

@ -6,9 +6,9 @@
$RadioLabel
$FieldHolder
</li>
</ul>
<% end_if %>
<% end_loop %>
</ul>
<% else %>
<ul class="SelectionGroup<% if extraClass %> $extraClass<% end_if %>">
<% loop $FieldSet %>