$dms, 'user'=>$user)); $accessop = new SeedDMS_AccessOperation($dms, $user, $settings); if (!$accessop->check_view_access($view, $_GET)) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } if(isset($_GET['workflowstateid']) && $_GET['workflowstateid']) { $selworkflowstate = $dms->getWorkflowState($_GET['workflowstateid']); } else { $selworkflowstate = null; } if($view) { $view->setParam('selworkflowstate', $selworkflowstate); $view->setParam('accessobject', $accessop); $view($_GET); exit; }