summaryrefslogtreecommitdiffstats
path: root/6.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-12-06 13:38:47 +0100
committerRemi Collet <remi@remirepo.net>2019-12-06 13:38:47 +0100
commit210fbf59c5a9e60049851cb92bd1e663c1519af7 (patch)
treeef81b986b6322ea1815e6bfdcac6b947d9fe9dd7 /6.patch
parenta0f9037f00891115d859507c0470f8a6df098e56 (diff)
v2.31.12
Diffstat (limited to '6.patch')
-rw-r--r--6.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/6.patch b/6.patch
new file mode 100644
index 0000000..e8d81fc
--- /dev/null
+++ b/6.patch
@@ -0,0 +1,22 @@
+From 9bed1cdc08787ae2087ce7d20425fe0503645fe7 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Mon, 18 Nov 2019 15:03:00 +0100
+Subject: [PATCH] Fix Trying to access array offset on value of type null
+
+---
+ lib/Horde/Core/Tagger.php | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/Horde/Core/Tagger.php b/lib/Horde/Core/Tagger.php
+index c76306da..fd0d567f 100644
+--- a/lib/Horde/Core/Tagger.php
++++ b/lib/Horde/Core/Tagger.php
+@@ -69,7 +69,7 @@ public function __construct()
+ $types = $injector->getInstance('Content_Types_Manager')
+ ->ensureTypes($this->_types);
+ foreach ($this->_types as $k => $v) {
+- $this->_type_ids[$v] = intval($types[$k]);
++ $this->_type_ids[$v] = intval($types ? $types[$k] : 0);
+ }
+ $cache->set($key, serialize($this->_type_ids));
+ }