- do not pass true to $content->getApprovalStatus()

This commit is contained in:
steinm 2011-12-05 13:20:31 +00:00
parent 3e1926d4c8
commit ac434cd171

View File

@ -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"));
}