[SPIP] ~v3.0.12-->3.0.13
[ptitvelo/web/www.git] / www / ecrire / inc / actions.php
index dabed25..f824284 100644 (file)
@@ -38,7 +38,7 @@ function generer_action_auteur($action, $arg, $redirect = "", $mode = false, $at
 // http://doc.spip.org/@redirige_action_auteur
 function redirige_action_auteur($action, $arg, $ret, $gra = '', $mode = false, $atts = '', $public = false) {
 
-       $r = ($public ? _DIR_RESTREINT_ABS : _DIR_RESTREINT) .generer_url_ecrire($ret, $gra, true, $public);
+       $r = ($public ? _DIR_RESTREINT_ABS : _DIR_RESTREINT) .generer_url_ecrire($ret, $gra, true, true);
 
        return generer_action_auteur($action, $arg, $r, $mode, $atts, $public);
 }