Skip to content

Commit

Permalink
Electronick signature disable in share mode
Browse files Browse the repository at this point in the history
  • Loading branch information
wincelau committed Aug 1, 2024
1 parent 79d66c0 commit 637c396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PDFSignature.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function compile() {
foreach($layers as $layerFile) {
$signedFile = str_replace('.svg.pdf', '.sign.pdf', $layerFile);
if(!file_exists($signedFile)) {
self::addSvgToPDF($currentSignedFile, $layerFile, $signedFile);
self::addSvgToPDF($currentSignedFile, $layerFile, $signedFile, false);
if ($this->pathHash != $pathHashDecrypted && $this->isEncrypted()) {
copy($signedFile, str_replace($pathHashDecrypted ,$this->pathHash, $signedFile));
}
Expand Down

0 comments on commit 637c396

Please sign in to comment.