mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge remote-tracking branch 'origin/4.0' into 4.1
This commit is contained in:
commit
99426cdb05
@ -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);
|
||||
|
@ -6,9 +6,9 @@
|
||||
$RadioLabel
|
||||
$FieldHolder
|
||||
</li>
|
||||
</ul>
|
||||
<% end_if %>
|
||||
<% end_loop %>
|
||||
</ul>
|
||||
<% else %>
|
||||
<ul class="SelectionGroup<% if extraClass %> $extraClass<% end_if %>">
|
||||
<% loop $FieldSet %>
|
||||
|
Loading…
Reference in New Issue
Block a user