diff --git a/src/app/document/controllers/DocumentController.php b/src/app/document/controllers/DocumentController.php
index 9ccf25e989a16218ed3c568b499498937e80ef61..3be406d1daa5a39cc3f546af646f57469dd58d3c 100755
--- a/src/app/document/controllers/DocumentController.php
+++ b/src/app/document/controllers/DocumentController.php
@@ -1229,11 +1229,7 @@ class DocumentController
         $args['withDeleted'] = $args['withDeleted'] ?? false;
 
         $document = DocumentModel::getById(['select' => ['typist'], 'id' => $args['id'], 'withDeleted' => $args['withDeleted']]);
-        if (empty($document['typist'])) {
-            return false;
-        }
-
-        if ($document['typist'] == $GLOBALS['id']) {
+        if (!empty($document['typist']) && $document['typist'] == $GLOBALS['id']) {
             return true;
         }