mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
init array for mandatory reviewers/approvers
This commit is contained in:
parent
164bec246b
commit
327250eb31
|
@ -401,8 +401,8 @@ $(document).ready(function() {
|
||||||
|
|
||||||
/* List all mandatory reviewers */
|
/* List all mandatory reviewers */
|
||||||
$res=$user->getMandatoryReviewers();
|
$res=$user->getMandatoryReviewers();
|
||||||
|
$tmp = array();
|
||||||
if($res) {
|
if($res) {
|
||||||
$tmp = array();
|
|
||||||
foreach ($res as $r) {
|
foreach ($res as $r) {
|
||||||
if($r['reviewerUserID'] > 0) {
|
if($r['reviewerUserID'] > 0) {
|
||||||
$u = $dms->getUser($r['reviewerUserID']);
|
$u = $dms->getUser($r['reviewerUserID']);
|
||||||
|
@ -450,8 +450,8 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* List all mandatory groups of reviewers */
|
/* List all mandatory groups of reviewers */
|
||||||
|
$tmp = array();
|
||||||
if($res) {
|
if($res) {
|
||||||
$tmp = array();
|
|
||||||
foreach ($res as $r) {
|
foreach ($res as $r) {
|
||||||
if($r['reviewerGroupID'] > 0) {
|
if($r['reviewerGroupID'] > 0) {
|
||||||
$u = $dms->getGroup($r['reviewerGroupID']);
|
$u = $dms->getGroup($r['reviewerGroupID']);
|
||||||
|
@ -500,8 +500,8 @@ $(document).ready(function() {
|
||||||
$this->contentSubHeading(getMLText("assign_approvers"));
|
$this->contentSubHeading(getMLText("assign_approvers"));
|
||||||
$res=$user->getMandatoryApprovers();
|
$res=$user->getMandatoryApprovers();
|
||||||
/* List all mandatory approvers */
|
/* List all mandatory approvers */
|
||||||
|
$tmp = array();
|
||||||
if($res) {
|
if($res) {
|
||||||
$tmp = array();
|
|
||||||
foreach ($res as $r) {
|
foreach ($res as $r) {
|
||||||
if($r['approverUserID'] > 0) {
|
if($r['approverUserID'] > 0) {
|
||||||
$u = $dms->getUser($r['approverUserID']);
|
$u = $dms->getUser($r['approverUserID']);
|
||||||
|
@ -550,8 +550,8 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* List all mandatory groups of approvers */
|
/* List all mandatory groups of approvers */
|
||||||
|
$tmp = array();
|
||||||
if($res) {
|
if($res) {
|
||||||
$tmp = array();
|
|
||||||
foreach ($res as $r) {
|
foreach ($res as $r) {
|
||||||
if($r['approverGroupID'] > 0) {
|
if($r['approverGroupID'] > 0) {
|
||||||
$u = $dms->getGroup($r['approverGroupID']);
|
$u = $dms->getGroup($r['approverGroupID']);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user