Bläddra i källkod

edit mailinglists

andre 2 år sedan
förälder
incheckning
cfd929a20a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/UI/Client/DistributionList/Providers/EditListDataProvider.php

+ 1 - 1
app/UI/Client/DistributionList/Providers/EditListDataProvider.php

@@ -129,7 +129,7 @@ class EditListDataProvider extends AddListDataProvider
             Kerio::STATUS_APPROVAL => $lang->absoluteT('Require moderator approval'),
             Kerio::STATUS_ACCEPT   => $lang->absoluteT('Automatically accept')
         ];
-        $this->data['sendErrorsToModerator'] = $list[0]['subscription']['sendErrorsToModerator'] === TRUE ? ProductParams::SWITCHER_ENABLED : ProductParams::SWITCHER_DISABLED;
+        $this->data['sendErrorsToModerator'] = $list[0]['posting']['sendErrorsToModerator'] === TRUE ? ProductParams::SWITCHER_ENABLED : ProductParams::SWITCHER_DISABLED;
 
 
         /**