mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix call of contructor of SeedDMS_AccessOperation
This commit is contained in:
parent
b118b00536
commit
31fa1d505c
|
@ -44,7 +44,7 @@ if (!is_object($document)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Create object for checking access to certain operations */
|
/* Create object for checking access to certain operations */
|
||||||
$accessop = new SeedDMS_AccessOperation($dms, $document, $user, $settings);
|
$accessop = new SeedDMS_AccessOperation($dms, $user, $settings);
|
||||||
|
|
||||||
// verify if document may be reviewed
|
// verify if document may be reviewed
|
||||||
if (!$accessop->mayRemoveVersion($document)){
|
if (!$accessop->mayRemoveVersion($document)){
|
||||||
|
|
Loading…
Reference in New Issue
Block a user