diff --git a/views/bootstrap/class.ViewDocument.php b/views/bootstrap/class.ViewDocument.php index d34f42352..7ed560818 100644 --- a/views/bootstrap/class.ViewDocument.php +++ b/views/bootstrap/class.ViewDocument.php @@ -932,7 +932,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style { print "\n"; $this->contentContainerEnd(); - if($user->isAdmin()) { + if($user->isAdmin() || $user->getId() == $document->getOwner()->getId()) { ?>