From fb89acae3a44cf1747e9497e5d0f87ccf462482b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 17 Oct 2005 18:18:55 +0000 Subject: [PATCH] bugfix --- htdocs/telephonie/script/retour-check.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/script/retour-check.php b/htdocs/telephonie/script/retour-check.php index 03bbcf3d619..0cc8072cd3a 100644 --- a/htdocs/telephonie/script/retour-check.php +++ b/htdocs/telephonie/script/retour-check.php @@ -96,6 +96,9 @@ Function check_file($db,$dir,$file) $line = 0; $hf = fopen ($dir.$file, "r"); + $ok = 0; + $nok = 0; + while (!feof($hf)) { $cont = fgets($hf, 1024); @@ -135,7 +138,7 @@ Function check_file($db,$dir,$file) print "ok : $ok\n"; print "erreurs : $nok\n"; - print "$lignes : $line\n"; + print "lignes : $line\n"; return $error;