From 8f0fc128033a665fc9e6868be3ff514cc0353b31 Mon Sep 17 00:00:00 2001
From: Thijs Kinkhorst <thijs@kinkhorst.com>
Date: Wed, 12 Feb 2020 20:28:11 +0000
Subject: [PATCH] Unbreak all hooks

Broken during refactoring in 6607b7fbced6a7bc0d49c59c2479c908c9ee7681
---
 lib/SimpleSAML/Module.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/SimpleSAML/Module.php b/lib/SimpleSAML/Module.php
index f4d61c383..88692e246 100644
--- a/lib/SimpleSAML/Module.php
+++ b/lib/SimpleSAML/Module.php
@@ -553,7 +553,7 @@ class Module
 
             if (
                 !isset(self::$module_info[$module]['hooks'][$hook])
-                || !empty(self::$module_info[$module]['hooks'][$hook])
+                || empty(self::$module_info[$module]['hooks'][$hook])
             ) {
                 continue;
             }
-- 
GitLab