mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +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{
|
||||
|
||||
$docApprovalStatus = $content->getApprovalStatus(true);
|
||||
$docApprovalStatus = $content->getApprovalStatus();
|
||||
if (is_bool($docApprovalStatus) && !$docApprovalStatus) {
|
||||
UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("cannot_retrieve_approval_snapshot"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user