diff options
Diffstat (limited to '6.patch')
-rw-r--r-- | 6.patch | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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)); + } |