diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php index 0b5e5bfefa0b090c736acd6272ba54a6c8079a12..c7c753670ad64a8f45b63fe5f0e0671e6cc91314 100644 --- a/ecrire/inc/distant.php +++ b/ecrire/inc/distant.php @@ -140,7 +140,7 @@ function recuperer_page($url, $munge_charset=false, $get_headers=false, $taille_ else $get = 'GET'; - if (!empty($datas) && is_array($datas)) { + if (!empty($datas)) { $get = 'POST'; list($content_type, $postdata) = prepare_donnees_post($datas); }