summaryrefslogtreecommitdiffstats
path: root/0001-fix-Undefined-property-GLPIPDF-imagekeys.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-09-20 09:14:13 +0200
committerRemi Collet <remi@remirepo.net>2019-09-20 09:14:13 +0200
commit862abcec823655cdbb7b91f9000ea338ed4fec6e (patch)
tree8d7bb466ed912427ecafe2b4dbb750fd53695e6b /0001-fix-Undefined-property-GLPIPDF-imagekeys.patch
parenta2469d8354a70231537d3ee2f9a17ad5f16637be (diff)
- update to 6.3.1
- drop patch merged upstream
Diffstat (limited to '0001-fix-Undefined-property-GLPIPDF-imagekeys.patch')
-rw-r--r--0001-fix-Undefined-property-GLPIPDF-imagekeys.patch29
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
-