mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +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(); | ||||
| 		$ca = array("-2"=>0, '-1'=>0, '0'=>0, '1'=>0); | ||||
| 		foreach($approvalStatus['indstatus'] as $ai) { | ||||
| 			$doc = $dms->getDocument($ri['documentID']); | ||||
| 			$doc = $dms->getDocument($ai['documentID']); | ||||
| 			$ai['latest'] = $doc->getLatestContent()->getVersion(); | ||||
| 			if($ai['latest'] == $ai['version']) | ||||
| 				$ca[$ai['status']]++; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann