Skip to content

Commit bf1bb27

Browse files
committed
fix: For now assume we have form filling if no version can be determined
Signed-off-by: Julius Knorr <jus@bitgrid.net>
1 parent 29692e1 commit bf1bb27

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/Service/CapabilitiesService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ public function hasDocumentSigningSupport(): bool {
9090
}
9191

9292
public function hasFormFilling(): bool {
93-
return $this->isVersionAtLeast('24.04.5.2');
93+
$productVersion = $this->getCapabilities()['productVersion'] ?? '0.0.0.0';
94+
return $this->isVersionAtLeast('24.04.5.2') || $productVersion === '0.0.0.0';
9495
}
9596

9697
private function isVersionAtLeast(string $version): bool {

0 commit comments

Comments
 (0)