소스 검색

edit mailinglists

andre 2 년 전
부모
커밋
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