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

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

@@ -109,10 +109,7 @@ class EditListDataProvider extends AddListDataProvider
         $this->data['domain']       = $this->getWhmcsParamByKey('domain');
         $this->data['description']  = $list[0]['description'];
         $this->data['lang']         = $list[0]['languageId'];
-
-        /**
-         * subscription requests
-         */
+        $this->availableValues['lang'] = [ 'de' => $lang->absoluteT('german'), 'en' => $lang->absoluteT('english') ];
         $this->data['subscriptionRequest'] = $list[0]['subscription']['type'];
         $this->availableValues['subscriptionRequest'] = [
             Kerio::STATUS_REJECT   => $lang->absoluteT('Automatically reject'),