bjori           Mon Jun 25 15:21:25 2007 UTC

  Modified files:              
    /livedocs   livedoc_funcs.php 
  Log:
  Let phpweb handle the printing of the notes
  
  
http://cvs.php.net/viewvc.cgi/livedocs/livedoc_funcs.php?r1=1.32&r2=1.33&diff_format=u
Index: livedocs/livedoc_funcs.php
diff -u livedocs/livedoc_funcs.php:1.32 livedocs/livedoc_funcs.php:1.33
--- livedocs/livedoc_funcs.php:1.32     Tue Jun 19 23:22:52 2007
+++ livedocs/livedoc_funcs.php  Mon Jun 25 15:21:25 2007
@@ -285,6 +285,11 @@
 
 function format_user_notes($id)
 {
+       // Let phpweb handle the notes
+       if (defined("PHPNET")) {
+               return "";
+       }
+
        $notes = sqlite_array_query($GLOBALS['NOTESDB'], "SELECT id, xwhen, 
who, note from notes where sect='$id' order by xwhen desc");
        if (empty($notes))
                return '';

Reply via email to