diff --git a/views/bootstrap/class.TransferDocument.php b/views/bootstrap/class.TransferDocument.php index bda1085ad..a40d5a8c4 100644 --- a/views/bootstrap/class.TransferDocument.php +++ b/views/bootstrap/class.TransferDocument.php @@ -40,7 +40,6 @@ class SeedDMS_View_TransferDocument extends SeedDMS_Bootstrap_Style { $this->contentStart(); $this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document); $this->contentHeading(getMLText("transfer_document")); - $this->contentContainerStart(); ?>
@@ -48,10 +47,12 @@ class SeedDMS_View_TransferDocument extends SeedDMS_Bootstrap_Style { '; $owner = $document->getOwner(); + $hasusers = false; // set to true if at least one user is found foreach ($allusers as $currUser) { if ($currUser->isGuest() || ($currUser->getID() == $owner->getID())) continue; + $hasusers = true; $html .= "
contentContainerEnd(); $this->contentEnd(); $this->htmlEndPage(); } /* }}} */