andre 2 лет назад
Родитель
Сommit
35c394f023
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/UI/Client/DistributionList/Providers/EditListDataProvider.php

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

@@ -116,6 +116,7 @@ class EditListDataProvider extends AddListDataProvider
             Kerio::STATUS_APPROVAL => $lang->absoluteT('Require moderator approval'),
             Kerio::STATUS_ACCEPT   => $lang->absoluteT('Automatically accept')
         ];
+        $this->data['subscriptionNotify'] = $list[0]['subscription']['moderatorNotification'] === TRUE ? ProductParams::SWITCHER_ENABLED : ProductParams::SWITCHER_DISABLED;
 
         /**
          * allow to check which should be removed