diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2012-08-16 05:52:39 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2012-08-16 05:52:39 +0400 |
commit | a8b980d186951e1b01eb9a15aafba1c8f7155421 (patch) | |
tree | 754db18f0b421c5d324271c1ddcf4b4b18a6934c /libs | |
parent | 2ead85be01415f59795a886357a45391213c33fc (diff) |
Fixes #3322 hopefully that was the only notice1.8.3
git-svn-id: http://dev.piwik.org/svn/trunk@6786 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs')
-rw-r--r-- | libs/tcpdf/tcpdf.php | 2 |
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); |