X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Finc%2Factions.php;fp=www%2Fecrire%2Finc%2Factions.php;h=7e2cb7617293b875d1866728b804373b4ca8fdb3;hp=dabed251f0821c3fe775c5ad255aa6b03d869753;hb=122c920eb07e3f665789f8734965b576e6c25515;hpb=226942065cd4f604eb464addf45a065c9e5bc916 diff --git a/www/ecrire/inc/actions.php b/www/ecrire/inc/actions.php index dabed251..7e2cb761 100644 --- a/www/ecrire/inc/actions.php +++ b/www/ecrire/inc/actions.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2012 * + * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -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); }