diff --git a/dev/dolibarr_changes.txt b/dev/dolibarr_changes.txt index 668db97a0c7..0ace2d856df 100644 --- a/dev/dolibarr_changes.txt +++ b/dev/dolibarr_changes.txt @@ -52,6 +52,21 @@ Replace call to serialize_val with no bugged value TCPDF: ------ +* Replace in tcpdf.php: + + if (isset($this->imagekeys)) { + foreach($this->imagekeys as $file) { + unlink($file); + } + } +with + + if (isset($this->imagekeys)) { + foreach($this->imagekeys as $file) { +// unlink($file); + } + } + * To avoid to have QRcode changed because generated with a random mask, replace define('QR_FIND_FROM_RANDOM', 2); with diff --git a/htdocs/includes/tecnickcom/tcpdf/tcpdf.php b/htdocs/includes/tecnickcom/tcpdf/tcpdf.php index 6c5779c789f..aa66879f7a1 100644 --- a/htdocs/includes/tecnickcom/tcpdf/tcpdf.php +++ b/htdocs/includes/tecnickcom/tcpdf/tcpdf.php @@ -7798,7 +7798,8 @@ class TCPDF { } if (isset($this->imagekeys)) { foreach($this->imagekeys as $file) { - unlink($file); +// @CHANGE DOL +// unlink($file); } } }