mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	fix calling getMandatory(Reviewer|Approver)
This commit is contained in:
		
							parent
							
								
									bb416ffe56
								
							
						
					
					
						commit
						6a13d61abc
					
				|  | @ -737,9 +737,9 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server | |||
| 						$workflow = null; | ||||
| 						if($this->settings->_workflowMode == 'traditional' || $this->settings->_workflowMode == 'traditional_only_approval') { | ||||
| 							if($this->settings->_workflowMode == 'traditional') { | ||||
| 								$reviewers = getMandatoryReviewers($document->getFolder(), $this->user); | ||||
| 								$reviewers = getMandatoryReviewers($document->getFolder(), $document, $this->user); | ||||
| 							} | ||||
| 							$approvers = getMandatoryApprovers($document->getFolder(), $this->user); | ||||
| 							$approvers = getMandatoryApprovers($document->getFolder(), $document, $this->user); | ||||
| 						} elseif($this->settings->_workflowMode == 'advanced') { | ||||
| 							if($workflows = $this->user->getMandatoryWorkflows()) { | ||||
| 								$workflow = array_shift($workflows); | ||||
|  | @ -809,9 +809,9 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server | |||
| 			$workflow = null; | ||||
| 			if($this->settings->_workflowMode == 'traditional' || $this->settings->_workflowMode == 'traditional_only_approval') { | ||||
| 				if($this->settings->_workflowMode == 'traditional') { | ||||
| 					$reviewers = getMandatoryReviewers($folder, $this->user); | ||||
| 					$reviewers = getMandatoryReviewers($folder, null, $this->user); | ||||
| 				} | ||||
| 				$approvers = getMandatoryApprovers($folder, $this->user); | ||||
| 				$approvers = getMandatoryApprovers($folder, null, $this->user); | ||||
| 			} elseif($this->settings->_workflowMode == 'advanced') { | ||||
| 				if($workflows = $this->user->getMandatoryWorkflows()) { | ||||
| 					$workflow = array_shift($workflows); | ||||
|  | @ -1285,9 +1285,9 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server | |||
| 			$workflow = null; | ||||
| 			if($this->settings->_workflowMode == 'traditional' || $this->settings->_workflowMode == 'traditional_only_approval') { | ||||
| 				if($this->settings->_workflowMode == 'traditional') { | ||||
| 					$reviewers = getMandatoryReviewers($objdest, $this->user); | ||||
| 					$reviewers = getMandatoryReviewers($objdest, null, $this->user); | ||||
| 				} | ||||
| 				$approvers = getMandatoryApprovers($objdest, $this->user); | ||||
| 				$approvers = getMandatoryApprovers($objdest, null, $this->user); | ||||
| 			} elseif($this->settings->_workflowMode == 'advanced') { | ||||
| 				if($workflows = $this->user->getMandatoryWorkflows()) { | ||||
| 					$workflow = array_shift($workflows); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann