mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-17 10:40:01 +00:00
fix setting group approvers from previous version
This commit is contained in:
parent
6731882ae0
commit
f281376ac2
|
@ -559,10 +559,12 @@ console.log(element);
|
||||||
$tmp = array();
|
$tmp = array();
|
||||||
foreach($approvalStatus as $r) {
|
foreach($approvalStatus as $r) {
|
||||||
if($r['type'] == 1) {
|
if($r['type'] == 1) {
|
||||||
if(!in_array($r['required'], $mapprovers['g']))
|
if($mapprovers) {
|
||||||
|
if(!in_array($r['required'], $mapprovers['g']))
|
||||||
|
$tmp[] = $r['required'];
|
||||||
|
} else {
|
||||||
$tmp[] = $r['required'];
|
$tmp[] = $r['required'];
|
||||||
} else {
|
}
|
||||||
$tmp[] = $r['required'];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$fieldwrap = array('', '');
|
$fieldwrap = array('', '');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user