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