From f56bf4dbbedec179ef50548e8f41f3465f298e01 Mon Sep 17 00:00:00 2001 From: Pierre Date: Tue, 4 Feb 2020 01:01:16 +0100 Subject: [PATCH] =?UTF-8?q?Interdiction=20d'acc=C3=A8s=20=C3=A0=20l'espace?= =?UTF-8?q?=20priv=C3=A9=20pour=20les=20non-admins,=20avec=20redirection?= =?UTF-8?q?=20:=20correction=20pour=20laisser=20passer=20les=20admins?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- balint_options.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/balint_options.php b/balint_options.php index ae16382..b9f52f2 100644 --- a/balint_options.php +++ b/balint_options.php @@ -56,4 +56,7 @@ function autoriser_ecrire($faire, $type, $id, $qui, $opt){ include_spip('inc/headers'); redirige_par_entete( url_de_base()); } + else { + return in_array($qui['statut'], array('0minirezo')); + } }