From 9ef0cd385e4a2a79b27812c660411b5243e31011 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Mon, 19 Feb 2024 15:54:31 +0100 Subject: [PATCH] Fix hook disabling --- src/Renderer/NavigationRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renderer/NavigationRenderer.php b/src/Renderer/NavigationRenderer.php index e2d1ff8..4463608 100644 --- a/src/Renderer/NavigationRenderer.php +++ b/src/Renderer/NavigationRenderer.php @@ -400,7 +400,7 @@ private function getRedirectPage(array $page): array private function dispatchEvent(Event $event): void { - if (! $this->moduleModel->hofff_navigation_disableHooks) { + if ($this->moduleModel->hofff_navigation_disableHooks) { return; }