|
|
@@ -98,10 +98,7 @@ class Lists extends DataTable implements ClientArea
|
|
|
}
|
|
|
|
|
|
$listQuery = array(
|
|
|
- "userId",
|
|
|
- "hasId",
|
|
|
"emailAddress",
|
|
|
- "fullName",
|
|
|
"kind"
|
|
|
);
|
|
|
|
|
|
@@ -110,7 +107,7 @@ class Lists extends DataTable implements ClientArea
|
|
|
{
|
|
|
/* @var $list DistributionList */
|
|
|
try {
|
|
|
- $listCount = $api->getMlUserList($listQuery, $list['id']);
|
|
|
+ $members = $api->getMlUserList($listQuery, $list['id']);
|
|
|
} catch (KerioApiException $error) {
|
|
|
logModuleCall(
|
|
|
'kerioEmail',
|
|
|
@@ -123,9 +120,9 @@ class Lists extends DataTable implements ClientArea
|
|
|
logModuleCall(
|
|
|
'kerioEmail',
|
|
|
__FUNCTION__,
|
|
|
- $list,
|
|
|
- 'Debug Error',
|
|
|
- $listCount
|
|
|
+ count($members),
|
|
|
+ 'Debug ML',
|
|
|
+ $members
|
|
|
);
|
|
|
$tmp = [
|
|
|
'id' => $list['id'],
|