cvs: phpweb /include shared-manual.inc
| From: | Philip Olson | Date: | Sat, 20 Jun 2009 16:30:17 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-5101@lists.php.net to get a copy of this message | ||
philip Sat Jun 20 16:30:17 2009 UTC
Modified files:
/phpweb/include shared-manual.inc
Log:
hack to stop showing duplicate notes (backend/notes/* appear broken currently)
# fixme: figure out why notes are repeated in these files, and fix
http://cvs.php.net/viewvc.cgi/phpweb/include/shared-manual.inc?r1=1.246&r2=1.247&diff_format=u
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.246 phpweb/include/shared-manual.inc:1.247
--- phpweb/include/shared-manual.inc:1.246 Wed Jun 17 07:04:05 2009
+++ phpweb/include/shared-manual.inc Sat Jun 20 16:30:17 2009
@@ -1,6 +1,6 @@
<?php // -*- C++ -*-
-// $Id: shared-manual.inc,v 1.246 2009/06/17 07:04:05 bjori Exp $
+// $Id: shared-manual.inc,v 1.247 2009/06/20 16:30:17 philip Exp $
/*
@@ -325,7 +325,7 @@
$line = chop(fgets($fp, 12288));
if ($line == "") { continue; }
list($id, $sect, $rate, $ts, $user, $note) = explode("|", $line);
- $notes[] = array(
+ $notes[$id] = array(
"id" => $id,
"sect" => $sect,
"rate" => $rate,