diff options
Diffstat (limited to '0001-fix-Undefined-property-GLPIPDF-imagekeys.patch')
-rw-r--r-- | 0001-fix-Undefined-property-GLPIPDF-imagekeys.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/0001-fix-Undefined-property-GLPIPDF-imagekeys.patch b/0001-fix-Undefined-property-GLPIPDF-imagekeys.patch deleted file mode 100644 index 07a91f6..0000000 --- a/0001-fix-Undefined-property-GLPIPDF-imagekeys.patch +++ /dev/null @@ -1,29 +0,0 @@ -From aeb25939d50249a7de4a8ff5d9d8121b41084678 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Thu, 19 Sep 2019 13:14:28 +0200 -Subject: [PATCH] fix Undefined property: GLPIPDF::$imagekeys - ---- - tcpdf.php | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/tcpdf.php b/tcpdf.php -index 8238784..d1cf110 100644 ---- a/tcpdf.php -+++ b/tcpdf.php -@@ -7796,8 +7796,10 @@ class TCPDF { - } - closedir($handle); - } -- foreach($this->imagekeys as $file) { -- unlink($file); -+ if (isset($this->imagekeys)) { -+ foreach($this->imagekeys as $file) { -+ unlink($file); -+ } - } - } - $preserve = array( --- -2.20.1 - |