From cd41b9582357b1b4a546f3ebebdf4da4383566ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20=22KPTN=22=20OUDOT?=
Date: Mon, 30 Dec 2024 12:23:20 +0100
Subject: [PATCH] Fix bad condition for posthookenableresult (#200)
---
templates/display.tpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/display.tpl b/templates/display.tpl
index e98ed4e..2c1b92a 100644
--- a/templates/display.tpl
+++ b/templates/display.tpl
@@ -344,7 +344,7 @@
{$msg_accountenabled}
- {if $use_disableaccount || $prehookenableresult || posthookenableresult || $prehookdisableresult || $posthookdisableresult}
+ {if $use_disableaccount || $prehookenableresult || $posthookenableresult || $prehookdisableresult || $posthookdisableresult}
{if $disableaccountresult eq 'ldaperror' or $disableaccountresult eq 'actionforbidden'}
{$msg_accountnotdisabled}