cvs: phpweb /include shared-manual.inc

From: Date: Tue, 28 Aug 2001 07:44:17 +0000
Subject: cvs: phpweb /include shared-manual.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-6164@lists.php.net to get a copy of this message
jimw Tue Aug 28 03:44:17 2001 EDT Modified files: /phpweb/include shared-manual.inc Log: skip blank lines Index: phpweb/include/shared-manual.inc diff -u phpweb/include/shared-manual.inc:1.111 phpweb/include/shared-manual.inc:1.112 --- phpweb/include/shared-manual.inc:1.111 Tue Aug 28 03:40:52 2001 +++ phpweb/include/shared-manual.inc Tue Aug 28 03:44:17 2001 @@ -187,7 +187,8 @@ $notes_file = "$DOCUMENT_ROOT/backend/notes/".substr($hash,0,2)."/$hash"; if ($fp = @fopen($notes_file,"r")) { while (!feof($fp)) { - $line = chop(fgets($fp,8096)); + $line = chop(fgets($fp,8096)); + if ($line == "") continue; list($id,$sect,$rate,$ts,$user,$note) = explode("|",$line); $notes[] = array( "id" => $id,

« previous php.mirrors (#6164) next »