diff --git a/out/out.RemoveApprovalLog.php b/out/out.RemoveApprovalLog.php index d310c66de..c3c37c743 100644 --- a/out/out.RemoveApprovalLog.php +++ b/out/out.RemoveApprovalLog.php @@ -68,7 +68,7 @@ if (!isset($_GET["approveid"]) || !is_numeric($_GET["approveid"]) || intval($_GE $approveid = $_GET['approveid']; /* 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(); if(!$approvals) { diff --git a/out/out.RemoveReviewLog.php b/out/out.RemoveReviewLog.php index 8e46ac83c..98c92b66c 100644 --- a/out/out.RemoveReviewLog.php +++ b/out/out.RemoveReviewLog.php @@ -68,7 +68,7 @@ if (!isset($_GET["reviewid"]) || !is_numeric($_GET["reviewid"]) || intval($_GET[ $reviewid = $_GET['reviewid']; /* 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(); if(!$reviews) {