mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +00:00
fix wrong counting of documents
This commit is contained in:
parent
3a62afd084
commit
4aef495c03
|
@ -69,7 +69,7 @@ class SeedDMS_View_RemoveUserFromProcesses extends SeedDMS_Bootstrap_Style {
|
||||||
$tmpa = array();
|
$tmpa = array();
|
||||||
$ca = array("-2"=>0, '-1'=>0, '0'=>0, '1'=>0);
|
$ca = array("-2"=>0, '-1'=>0, '0'=>0, '1'=>0);
|
||||||
foreach($approvalStatus['indstatus'] as $ai) {
|
foreach($approvalStatus['indstatus'] as $ai) {
|
||||||
$doc = $dms->getDocument($ri['documentID']);
|
$doc = $dms->getDocument($ai['documentID']);
|
||||||
$ai['latest'] = $doc->getLatestContent()->getVersion();
|
$ai['latest'] = $doc->getLatestContent()->getVersion();
|
||||||
if($ai['latest'] == $ai['version'])
|
if($ai['latest'] == $ai['version'])
|
||||||
$ca[$ai['status']]++;
|
$ca[$ai['status']]++;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user