mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 21:16:07 +00:00
fix creation of instance of SeedDMS_AccessOperation
This commit is contained in:
parent
ab5aec99ba
commit
2d3ec59c2d
|
@ -68,7 +68,7 @@ if (!isset($_GET["approveid"]) || !is_numeric($_GET["approveid"]) || intval($_GE
|
||||||
$approveid = $_GET['approveid'];
|
$approveid = $_GET['approveid'];
|
||||||
|
|
||||||
/* 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);
|
||||||
|
|
||||||
$approvals = $content->getApprovalStatus();
|
$approvals = $content->getApprovalStatus();
|
||||||
if(!$approvals) {
|
if(!$approvals) {
|
||||||
|
|
|
@ -68,7 +68,7 @@ if (!isset($_GET["reviewid"]) || !is_numeric($_GET["reviewid"]) || intval($_GET[
|
||||||
$reviewid = $_GET['reviewid'];
|
$reviewid = $_GET['reviewid'];
|
||||||
|
|
||||||
/* 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);
|
||||||
|
|
||||||
$reviews = $content->getReviewStatus();
|
$reviews = $content->getReviewStatus();
|
||||||
if(!$reviews) {
|
if(!$reviews) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user