master
ELF 4 years ago
parent 23e03a4113
commit 57f57b8a1d

@ -2932,7 +2932,8 @@ function getSearchAdminIds($searchAdminParam = 'admin_id', $searchDepartmentPara
}
if (is_null($adminIds) && isset($_REQUEST[$searchDepartmentParam])) {
$adminIds = explode(',', A("Market","Event")->getMarketGroupId($_REQUEST[$searchDepartmentParam]));
$groupIds = explode(',', A("Market","Event")->getMarketGroupId($_REQUEST[$searchDepartmentParam]));
$adminIds = M("auth_group_access")->where(['group_id' => ['in', $groupIds]])->getField('uid', true);
$adminIds = count($adminIds) ? $adminIds : [-1];
}

Loading…
Cancel
Save