mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix error in creating list of notifier
This commit is contained in:
parent
c6a7460533
commit
64c6c21592
|
@ -110,19 +110,19 @@ else {
|
|||
$emailGroupListA = array();
|
||||
$status = $version->getReviewStatus();
|
||||
foreach ($status as $st) {
|
||||
if ($st["status"]==0 && !in_array($st["required"], $emailUserList)) {
|
||||
if($st['type'] == 0)
|
||||
if ($st["status"]==0) {
|
||||
if($st['type'] == 0 && !in_array($st["required"], $emailUserListR))
|
||||
$emailUserListR[] = $st["required"];
|
||||
else
|
||||
elseif(!in_array($st["required"], $emailGroupListR))
|
||||
$emailGroupListR[] = $st["required"];
|
||||
}
|
||||
}
|
||||
$status = $version->getApprovalStatus();
|
||||
foreach ($status as $st) {
|
||||
if ($st["status"]==0 && !in_array($st["required"], $emailUserList)) {
|
||||
if($st['type'] == 0)
|
||||
if ($st["status"]==0) {
|
||||
if($st['type'] == 0 && !in_array($st["required"], $emailUserListA))
|
||||
$emailUserListA[] = $st["required"];
|
||||
else
|
||||
elseif(!in_array($st["required"], $emailGroupListA))
|
||||
$emailGroupListA[] = $st["required"];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user