Просмотр исходного кода

E-Mail Verteiler default aktiv

andre 2 лет назад
Родитель
Сommit
7025629abe

+ 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'));