We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64a12ff commit d9cec6aCopy full SHA for d9cec6a
lib/Service/FileService.php
@@ -298,7 +298,11 @@ public function isLibresignFile(int $nodeId): bool {
298
}
299
300
private function loadFileMetadata(): void {
301
- if ($this->file->getNodeType() !== 'file' || !$content = $this->getFileContent()) {
+ if (
302
+ !$this->file
303
+ || $this->file->getNodeType() !== 'file'
304
+ || !$content = $this->getFileContent()
305
+ ) {
306
return;
307
308
$pdfParserService = $this->pdfParserService->setFile($content);
0 commit comments