diff --git a/lib/Service/FileService.php b/lib/Service/FileService.php index bf43f69cf9..c92db651c1 100644 --- a/lib/Service/FileService.php +++ b/lib/Service/FileService.php @@ -238,7 +238,7 @@ private function getSigners(): array { } } } - if ($signatureToShow['me']) { + if ($signatureToShow['me'] && !is_null($this->signRequest)) { $signatureToShow['signatureMethods'] = $this->identifyMethodService->getSignMethodsOfIdentifiedFactors($this->signRequest->getId()); } $signatureToShow['identifyMethods'] = array_reduce($signatureToShow['identifyMethods'], function ($carry, $list) {