Bladeren bron

E-Mail Verteiler default aktiv

andre 2 jaren geleden
bovenliggende
commit
7025629abe
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      app/UI/Client/DistributionList/Sections/AddPropertiesDistribution.php

+ 2 - 1
app/UI/Client/DistributionList/Sections/AddPropertiesDistribution.php

@@ -19,7 +19,8 @@ class AddPropertiesDistribution extends FreeFieldsSection
     public function initContent()
     {
 
-        $this->addField(new Switcher('receiveMail'))->addHtmlAttribute('on', true);;
+//        $this->addField(new Switcher('receiveMail'));
+        $this->addField((new Switcher('receiveMail'))->setDefaultValue('on'));
 
         $this->addField(new Switcher('hideGal'));