diff --git a/ecrire/balise/formulaire_.php b/ecrire/balise/formulaire_.php index 26e83478121179742c723e2f7cf10d7e034cd43c..6398e7dd7cb05a52e2bdfcedb31e2d4a5aceeee6 100644 --- a/ecrire/balise/formulaire_.php +++ b/ecrire/balise/formulaire_.php @@ -69,8 +69,8 @@ function balise_FORMULAIRE__dyn($form) // pour ne pas confondre 2 #FORMULAIRES_XX identiques sur une meme page $je_suis_poste = false; if ($post_form = _request('formulaire_action') - AND $post_args = _request('formulaire_action_args')) { - $post_args = decoder_contexte_ajax($post_args,$post_form); + AND ($post_args = _request('formulaire_action_args')) + AND is_array($post_args = decoder_contexte_ajax($post_args,$post_form))) { // enlever le faux attribut de langue masque array_shift($post_args); if ($args === $post_args){