We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e29b53b + d9065c7 commit 18d298bCopy full SHA for 18d298b
1 file changed
src/Sign/JSignService.php
@@ -62,6 +62,9 @@ public function getVersion(JSignParam $params)
62
63
$command = "$java -jar $jSignPdf --version";
64
\exec($command, $output);
65
+ if (empty($output) || strpos($output[0], 'version') === false) {
66
+ return '';
67
+ }
68
return explode('version ', $output[0])[1];
69
}
70
0 commit comments