diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php index 37babc70215a9598ff838de6342a6d9687502545..7ce188738e1806011ae16a7ae71df6ed21370418 100644 --- a/ecrire/inc/distant.php +++ b/ecrire/inc/distant.php @@ -443,7 +443,7 @@ function recuperer_url($url, $options = []) { $head_add .= $champ . ': ' . $valeur . "\r\n"; } // ne pas le repasser a recuperer_url si on follow un location, car ils seront dans datas - unset($options['entetes']); + unset($options['headers']); } if (!empty($options['datas'])) {