From 0026f2eefe84f0cee8e3e2a60627c29fc683aa31 Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Tue, 1 Aug 2006 16:26:09 +0000 Subject: [PATCH] =?UTF-8?q?Cet=20exc=C3=A8s=20de=20pr=C3=A9caution=20peut?= =?UTF-8?q?=20provoquer=20des=20incompatibilit=C3=A9s=20qui=20n'en=20valen?= =?UTF-8?q?t=20pas=20la=20peine.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/balise/formulaire_inscription.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ecrire/balise/formulaire_inscription.php b/ecrire/balise/formulaire_inscription.php index 8a504c170d..b09e8a4c37 100644 --- a/ecrire/balise/formulaire_inscription.php +++ b/ecrire/balise/formulaire_inscription.php @@ -27,13 +27,10 @@ function balise_FORMULAIRE_INSCRIPTION ($p) { // [(#FORMULAIRE_INSCRIPTION{nom_inscription, #ID_RUBRIQUE})] function balise_FORMULAIRE_INSCRIPTION_stat($args, $filtres) { - $mode = isset($args[0]) ? $args[0] : 'redac'; + list($mode, $id, $focus) = $args; if (!test_mode_inscription($mode)) return ''; - else - return array($mode, - (isset($args[2]) ? $args[2] : ''), - (isset($args[1]) ? $args[1] : '')); + else return array($mode, $focus, $id); } // Si inscriptions pas autorisees, retourner une chaine d'avertissement -- GitLab