فهرست منبع

add ressources

andre 2 سال پیش
والد
کامیت
1d79e333e9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      api/KerioWhmcs.php

+ 1 - 1
api/KerioWhmcs.php

@@ -452,7 +452,7 @@ class KerioWhmcs extends KerioConnectApi {
 				'description' => $attr['description'],
 				'type' => $attr['type'],
 				'isEnabled' => $attr['status'] === 'active' ? TRUE : FALSE,
-				'resourceUsers' => array('id' => $domain, 'type' => 'AuthDomainPrincipal'),
+				'resourceUsers' => array(array('id' => $domain, 'type' => 'AuthDomainPrincipal')),
 				'manager' => array('id' => $attr['manager'], 'type' => 'UserPrincipal'),
 				'domainId' => $domain
 			))