From b522da7df6891a56b88f2d8c504f5d3b0966824a Mon Sep 17 00:00:00 2001 From: Cerdic <cedric@yterium.com> Date: Thu, 14 Sep 2006 14:27:10 +0000 Subject: [PATCH] recuperer_page doit toujours renvoyer quelque chose --- 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 a6994c2f74..b9875d6c46 100644 --- a/ecrire/inc/distant.php +++ b/ecrire/inc/distant.php @@ -194,7 +194,7 @@ function recuperer_page($url, $munge_charset=false, $get_headers=false, if ($status >= 300 AND $status < 400 AND $location) $url = $location; else if ($status != 200) - return; + return false; else break; # ici on est content fclose($f); -- GitLab