mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	pass on msg to setStatus() in verifyStatus()
This commit is contained in:
		
							parent
							
								
									719a533c32
								
							
						
					
					
						commit
						bda66d22dd
					
				|  | @ -2132,10 +2132,10 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */ | |||
| 		} | ||||
| 
 | ||||
| 		unset($this->_workflow); // force to be reloaded from DB
 | ||||
| 		if ($this->getWorkflow()) $this->setStatus(S_IN_WORKFLOW,"",$user); | ||||
| 		elseif ($pendingReview) $this->setStatus(S_DRAFT_REV,"",$user); | ||||
| 		elseif ($pendingApproval) $this->setStatus(S_DRAFT_APP,"",$user); | ||||
| 		else $this->setStatus(S_RELEASED,"",$user); | ||||
| 		if ($this->getWorkflow()) $this->setStatus(S_IN_WORKFLOW,$msg,$user); | ||||
| 		elseif ($pendingReview) $this->setStatus(S_DRAFT_REV,$msg,$user); | ||||
| 		elseif ($pendingApproval) $this->setStatus(S_DRAFT_APP,$msg,$user); | ||||
| 		else $this->setStatus(S_RELEASED,$msg,$user); | ||||
| 	} /* }}} */ | ||||
| 
 | ||||
| 	function SeedDMS_Core_DocumentContent($id, $document, $version, $comment, $date, $userID, $dir, $orgFileName, $fileType, $mimeType, $fileSize=0, $checksum='') { /* {{{ */ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann