mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-30 21:47:30 +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();
|
||||
foreach($approvalStatus as $r) {
|
||||
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'];
|
||||
} else {
|
||||
$tmp[] = $r['required'];
|
||||
}
|
||||
}
|
||||
}
|
||||
$fieldwrap = array('', '');
|
||||
|
|
Loading…
Reference in New Issue
Block a user