From 71c8ce246f62d4b6cb1002cd1ee43653e8ceaa54 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Mon, 13 Jun 2022 19:24:08 +0200 Subject: [PATCH] changement gestion initialisatio hooks --- moha.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moha.php b/moha.php index fd413ea..4e4a476 100644 --- a/moha.php +++ b/moha.php @@ -322,7 +322,7 @@ while (true) $i = 1; foreach($hooks as $hookName => &$hook) { - if ($hook->initialized === false and $hook->active === true) + if ($hook->initialized === false); // and $hook->active === true) { logger(WARNING, _("Initializing Hook not completely initialized :") . $hookName, __FILE__ . ":" . __LINE__); $i &= $hook->installHooks($indexDevices);