mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
getMandatoryReviewers() and getMandatoryApprovers() require 3 params
This commit is contained in:
parent
81b45ceeff
commit
935c9557f9
|
@ -728,13 +728,13 @@ class RestapiController { /* {{{ */
|
|||
if($settings->_workflowMode == 'traditional' || $settings->_workflowMode == 'traditional_only_approval') {
|
||||
// add mandatory reviewers/approvers
|
||||
if($settings->_workflowMode == 'traditional') {
|
||||
$mreviewers = getMandatoryReviewers($mfolder, $userobj);
|
||||
$mreviewers = getMandatoryReviewers($mfolder, null, $userobj);
|
||||
if($mreviewers['i'])
|
||||
$reviewers['i'] = array_merge($reviewers['i'], $mreviewers['i']);
|
||||
if($mreviewers['g'])
|
||||
$reviewers['g'] = array_merge($reviewers['g'], $mreviewers['g']);
|
||||
}
|
||||
$mapprovers = getMandatoryApprovers($mfolder, $userobj);
|
||||
$mapprovers = getMandatoryApprovers($mfolder, null, $userobj);
|
||||
if($mapprovers['i'])
|
||||
$approvers['i'] = array_merge($approvers['i'], $mapprovers['i']);
|
||||
if($mapprovers['g'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user