diff --git a/ecrire/inc_getdocument.php b/ecrire/inc_getdocument.php index eb91add7b1039cce1fd0e0fb6a080afcd8a4f1a4..6746d167a86c57c7d70a0ee933ced47a02cee510 100644 --- a/ecrire/inc_getdocument.php +++ b/ecrire/inc_getdocument.php @@ -123,13 +123,12 @@ function check_upload_error($error, $msg='') { spip_log ("erreur upload $error"); minipres($msg, '<form action="' . - _DIR_RESTREINT_ABS. - urldecode($GLOBALS['redirect']). - '"><div align="'. - $spip_lang_right. - '"><input type="submit" class="fondl" value="'. - _T('ecrire:bouton_suivant'). - ' >>"></div></form>'); + urldecode($GLOBALS['redirect']). + '" method="post"><div align="'. #ici method='post' permet d'aller au bon endroit, alors qu'en GET on perd les variables... mais c'est un hack sale. + $spip_lang_right. + '"><input type="submit" class="fondl" value="'. + _T('ecrire:bouton_suivant'). + ' >>"></div></form>'); }