From 0cf7f1ee0ef8abd4202726e22c28ab3c812ca1a6 Mon Sep 17 00:00:00 2001
From: kent1 <kent1@arscenic.info>
Date: Mon, 1 Dec 2008 10:13:25 +0000
Subject: [PATCH] =?UTF-8?q?On=20demande=20un=20timestamp=20unix=20ici=20do?=
 =?UTF-8?q?nc=20strtotime=20ne=20peut=20marcher=20car=20il=20demande=20un?=
 =?UTF-8?q?=20string=20$time=20et=20la=20bonne=20valeur=20r=C3=A9cup=C3=A9?=
 =?UTF-8?q?r=C3=A9e=20des=20headers=20est=20$v=20pas=20$r[1]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 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 1e2ab13b08..afab1e30c9 100644
--- a/ecrire/inc/distant.php
+++ b/ecrire/inc/distant.php
@@ -300,7 +300,7 @@ function recuperer_entetes($f, $date_verif='')
 			$location = $v;
 		}
 		elseif ($date_verif AND ($d == 'Last-Modified')) {
-			if (strtotime($date_verif)>=strtotime($r[1])) {
+			if ($date_verif>=strtotime($v)) {
 				//Cas ou la page distante n'a pas bouge depuis
 				//la derniere visite
 				$not_modif = true;
-- 
GitLab