Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/tcpdf/tcpdf.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/tcpdf/tcpdf.php b/libs/tcpdf/tcpdf.php
index 24fe4fce15..5fe53978b6 100644
--- a/libs/tcpdf/tcpdf.php
+++ b/libs/tcpdf/tcpdf.php
@@ -7877,7 +7877,7 @@ class TCPDF {
$img = new Imagick();
$img->readImage($file);
// clone image object
- $imga = $img->clone();
+ $imga = @$img->clone();
// extract alpha channel
$img->separateImageChannel(8); // 8 = (imagick::CHANNEL_ALPHA | imagick::CHANNEL_OPACITY | imagick::CHANNEL_MATTE);
$img->negateImage(true);