From 99bd43599eae7a536578149a89950ef6139024a5 Mon Sep 17 00:00:00 2001 From: Jonathan Vollebregt Date: Mon, 22 Jul 2024 09:52:40 +0200 Subject: [PATCH] RichRenderer: Bugfix missing plugin --- src/Renderer/RichRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renderer/RichRenderer.php b/src/Renderer/RichRenderer.php index cc3dd1af8..0e69d72d4 100644 --- a/src/Renderer/RichRenderer.php +++ b/src/Renderer/RichRenderer.php @@ -635,7 +635,7 @@ protected function getPlugin(array $plugins, array $hints): ?PluginInterface $this->plugin_objs[$plugin] = new $plugin($this); } - return $this->plugin_objs[$plugin]; + return $this->plugin_objs[$plugin] ?? null; } return null;