From e55bae325d46fdaefe53d88211e11102ed81098c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ma=C3=AFeul=20Rouquette?= <maieul@maieul.net>
Date: Wed, 28 Apr 2021 20:18:41 +0200
Subject: [PATCH] =?UTF-8?q?oups,=20ne=20pas=20se=20tromper=20dans=20les=20?=
 =?UTF-8?q?tests=20bool=C3=A9ens?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 paquet.xml                         | 2 +-
 prive/objets/infos/formulaire.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/paquet.xml b/paquet.xml
index 339aa251..7d90024b 100644
--- a/paquet.xml
+++ b/paquet.xml
@@ -1,7 +1,7 @@
 <paquet
 	prefix="formidable"
 	categorie="communication"
-	version="4.14.5"
+	version="4.14.6"
 	etat="stable"
 	compatibilite="[3.1.0;3.2.*]"
 	logo="images/formidable-64.png"
diff --git a/prive/objets/infos/formulaire.html b/prive/objets/infos/formulaire.html
index 34f6857e..33ec2407 100644
--- a/prive/objets/infos/formulaire.html
+++ b/prive/objets/infos/formulaire.html
@@ -11,7 +11,7 @@
 		|icone_horizontale{<:icone_voir_en_ligne:>,racine})]
 ]
 
-[(#CONFIG{formidable/activer_pages}|et{#STATUT|=={publie}}|non)
+[(#CONFIG{formidable/activer_pages}|et{#STATUT|!={publie}}|oui)
 	[(#AUTORISER{previsualiser,formulaires,#ID_FORMULAIRE,'',#ARRAY{statut,#STATUT}})
 		[(#VAL{redirect}
 			|generer_url_action{type=formulaire&id=#ID_FORMULAIRE}
-- 
GitLab