diff --git a/ecrire/inc/distant.php b/ecrire/inc/distant.php
index 1e2ab13b08e9003aec3cdedd647c361e05ba88fd..afab1e30c98409e051d9b5cdfb7a22a81b09cfb1 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;