Set default value for `isAssignable` in new created reaction types to `true`
authorJoshua Rüsweg <ruesweg@woltlab.com>
Tue, 3 Dec 2019 16:12:37 +0000 (17:12 +0100)
committerJoshua Rüsweg <ruesweg@woltlab.com>
Tue, 3 Dec 2019 16:12:37 +0000 (17:12 +0100)
wcfsetup/install/files/lib/acp/form/ReactionTypeAddForm.class.php

index 75f149597ac7ac68147738abd7b106e68a40015a..9def60650096107587e449879ecf53983f1c5221 100644 (file)
@@ -65,6 +65,7 @@ class ReactionTypeAddForm extends AbstractFormBuilderForm {
                                BooleanFormField::create('isAssignable')
                                        ->label('wcf.acp.reactionType.isAssignable')
                                        ->description('wcf.acp.reactionType.isAssignable.description')
+                                       ->value(true)
                        ]);
                
                $iconContainer = FormContainer::create('imageSection')