mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
fix output of documents with disabled recipients
This commit is contained in:
parent
0fa5ffae48
commit
5d2d80b0af
|
@ -149,7 +149,7 @@ foreach($tmprevs as $rev) {
|
|||
|
||||
$docsinreceptionnoaccess = array();
|
||||
$docsinreceptiondisabled = array();
|
||||
if(!isset($_GET['action']) || $_GET['action'] == 'listDocsInReceptionNoAccess') {
|
||||
if(!isset($_GET['action']) || $_GET['action'] == 'listDocsInReceptionNoAccess' || $_GET['action'] == 'listDocsInReceptionDisabled') {
|
||||
$tmprevs = $dms->getDocumentsInReception();
|
||||
foreach($tmprevs as $rev) {
|
||||
if($doc = $dms->getDocument($rev['documentID'])) {
|
||||
|
|
|
@ -535,7 +535,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
|
|||
else
|
||||
$previewer->setConverters($previewconverters);
|
||||
|
||||
$this->contentHeading(getMLText("docs_in_revision_no_access"));
|
||||
$this->contentHeading(getMLText("docs_in_recepition_no_access"));
|
||||
|
||||
if($docsinreception) {
|
||||
$this->printList($docsinreception, $previewer, 'listDocsInReceptionNoAccess');
|
||||
|
@ -559,7 +559,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Theme_Style {
|
|||
else
|
||||
$previewer->setConverters($previewconverters);
|
||||
|
||||
$this->contentHeading(getMLText("docs_in_revision_no_access"));
|
||||
$this->contentHeading(getMLText("docs_in_reception_disabled"));
|
||||
|
||||
if($docsinreception) {
|
||||
$this->printList($docsinreception, $previewer, 'listDocsInReceptionDisabled');
|
||||
|
|
Loading…
Reference in New Issue
Block a user