fix call of contructor of SeedDMS_AccessOperation

This commit is contained in:
Uwe Steinmann 2023-10-20 07:14:34 +02:00
parent b118b00536
commit 31fa1d505c

View File

@ -44,7 +44,7 @@ if (!is_object($document)) {
}
/* 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
if (!$accessop->mayRemoveVersion($document)){