Skip to content

Commit

Permalink
Signature éléctronique aussi sur le pdf partagé
Browse files Browse the repository at this point in the history
  • Loading branch information
wincelau committed Aug 1, 2024
1 parent 0dcf81a commit a814444
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, false);
self::addSvgToPDF($currentSignedFile, $layerFile, $signedFile);
if ($this->pathHash != $pathHashDecrypted && $this->isEncrypted()) {
copy($signedFile, str_replace($pathHashDecrypted ,$this->pathHash, $signedFile));
}
Expand Down

0 comments on commit a814444

Please sign in to comment.