wez Wed May 5 04:49:43 2004 EDT
Modified files:
/livedocs livedoc.php
Log:
it's funny the things you remember once you've actually gone to bed.
http://cvs.php.net/diff.php/livedocs/livedoc.php?r1=1.101&r2=1.102&ty=u
Index: livedocs/livedoc.php
diff -u livedocs/livedoc.php:1.101 livedocs/livedoc.php:1.102
--- livedocs/livedoc.php:1.101 Tue May 4 21:37:05 2004
+++ livedocs/livedoc.php Wed May 5 04:49:43 2004
@@ -18,7 +18,7 @@
// | Generate an HTML version of a phpdoc/docbook page on the fly |
// +----------------------------------------------------------------------+
//
-// $Id: livedoc.php,v 1.101 2004/05/05 01:37:05 wez Exp $
+// $Id: livedoc.php,v 1.102 2004/05/05 08:49:43 wez Exp $
define('LIVEDOC_SOURCE', dirname(__FILE__));
include LIVEDOC_SOURCE . '/common.php';
@@ -117,7 +117,9 @@
echo call_user_func($aliases[$current_page]);
} else {
echo $page->transform($map, $current_page);
- echo format_user_notes($current_page);
+ if ($NOTESDB) {
+ echo format_user_notes($current_page);
+ }
}
if (empty($file_revision)) {