mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	- do not pass true to $content->getApprovalStatus()
This commit is contained in:
		
							parent
							
								
									3e1926d4c8
								
							
						
					
					
						commit
						ac434cd171
					
				|  | @ -173,7 +173,7 @@ if ($_POST["approvalStatus"]==-1){ | ||||||
| 	} | 	} | ||||||
| }else{ | }else{ | ||||||
| 
 | 
 | ||||||
| 	$docApprovalStatus = $content->getApprovalStatus(true); | 	$docApprovalStatus = $content->getApprovalStatus(); | ||||||
| 	if (is_bool($docApprovalStatus) && !$docApprovalStatus) { | 	if (is_bool($docApprovalStatus) && !$docApprovalStatus) { | ||||||
| 		UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("cannot_retrieve_approval_snapshot")); | 		UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("cannot_retrieve_approval_snapshot")); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 steinm
						steinm