mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
pass $document to mayApprove()
This commit is contained in:
parent
50cfb869e2
commit
353be72dc9
|
@ -63,7 +63,7 @@ if ($latestContent->getVersion()!=$version) {
|
|||
}
|
||||
|
||||
// verify if document may be approved
|
||||
if (!$accessop->mayApprove()){
|
||||
if (!$accessop->mayApprove($document)){
|
||||
UI::exitError(getMLText("document_title", array("documentname" => htmlspecialchars($document->getName()))),getMLText("access_denied"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user