From cf8418f4ee82ac550257bedeac591298740398f5 Mon Sep 17 00:00:00 2001
From: Cerdic <cedric@yterium.com>
Date: Tue, 4 Aug 2009 14:59:17 +0000
Subject: [PATCH] report de [14345]

---
 ecrire/inc/distant.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php
index 5ede9b5b07..97eb0a1fd9 100644
--- a/ecrire/inc/distant.php
+++ b/ecrire/inc/distant.php
@@ -440,7 +440,7 @@ function recuperer_infos_distantes($source, $max=0, $charger_si_petite_image = t
 	// On va directement charger le debut des images et des fichiers html,
 	// de maniere a attrapper le maximum d'infos (titre, taille, etc). Si
 	// ca echoue l'utilisateur devra les entrer...
-	if ($headers = recuperer_page($source, false, true, $max)) {
+	if ($headers = recuperer_page($source, false, true, $max, '', '', true)) {
 		list($headers, $a['body']) = explode("\n\n", $headers, 2);
 
 		if (preg_match(",\nContent-Type: *([^[:space:];]*),i", "\n$headers", $regs))
-- 
GitLab