diff --git a/ecrire/exec_breves.php b/ecrire/exec_breves.php index 73cea0c1885c1a61ad90b83fb1fa2aeafcb212dd..44015e51939119286a2474387b5517c1ff031f1c 100644 --- a/ecrire/exec_breves.php +++ b/ecrire/exec_breves.php @@ -60,7 +60,7 @@ function breves_dist() include_ecrire("inc_rubriques"); calculer_rubriques(); } - redirige_par_entete(generer_url_ecrire("naviguer"),"?id_rubrique=$id_rubrique"); + redirige_par_entete(generer_url_ecrire("naviguer","id_rubrique=$id_rubrique", true)); } else { debut_page(_T('titre_page_breves'), "documents", "breves"); diff --git a/ecrire/exec_mots_tous.php b/ecrire/exec_mots_tous.php index 119ac679d6fe21eac35690da144d579506c6f8d5..dd22f5c589ac26e3b51a0cd8c4a1d7b5af2bf41c 100644 --- a/ecrire/exec_mots_tous.php +++ b/ecrire/exec_mots_tous.php @@ -56,7 +56,7 @@ function mots_tous_dist() // si le mot n'est pas lie, on demande sa suppression if ($nb_articles + $nb_breves + $nb_sites + $nb_forum == 0) { - redirige_par_entete(generer_url_ecrire("mots_edit"),"&supp_mot=$id_mot&redirect_ok=oui&redirect=" . urlencode(generer_url_ecrire('mots_tous'))); + redirige_par_entete(generer_url_ecrire("mots_edit","supp_mot=$id_mot&redirect_ok=oui&redirect=" . urlencode(generer_url_ecrire('mots_tous')), true)); } // else traite plus loin (confirmation de suppression) } } diff --git a/ecrire/inc_utils.php b/ecrire/inc_utils.php index 7667133c0f624a96fdc35a379bb9ce031f7e35ee..16f7f59484040237ccb465ea546e237b29340544 100644 --- a/ecrire/inc_utils.php +++ b/ecrire/inc_utils.php @@ -180,7 +180,7 @@ function spip_query($query) { // moins bien les erreurs timeout sur SQL), on ne force donc pas l'upgrade if ($GLOBALS['spip_connect_version'] < 0.1) { if (!_DIR_RESTREINT) {$GLOBALS['db_ok'] = false; return;} - redirige_par_entete(generer_url_ecrire("upgrade"),"?reinstall=oui"); + redirige_par_entete(generer_url_ecrire("upgrade","reinstall=oui")); exit; }