|
@@ -19,7 +19,8 @@ class AddPropertiesDistribution extends FreeFieldsSection
|
|
|
public function initContent()
|
|
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'));
|
|
$this->addField(new Switcher('hideGal'));
|
|
|
|
|
|