logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: pearweb /include/notes ManualNotes.class.php: msg#00192

Subject: cvs: pearweb /include/notes ManualNotes.class.php
cellog          Mon Apr 30 02:43:32 2007 UTC

  Modified files:              
    /pearweb/include/notes      ManualNotes.class.php 
  Log:
  fix Bug #10868        User note link pointing to nowhere
  
  no # in a name=""
  
http://cvs.php.net/viewvc.cgi/pearweb/include/notes/ManualNotes.class.php?r1=1.20&r2=1.21&diff_format=u
Index: pearweb/include/notes/ManualNotes.class.php
diff -u pearweb/include/notes/ManualNotes.class.php:1.20 
pearweb/include/notes/ManualNotes.class.php:1.21
--- pearweb/include/notes/ManualNotes.class.php:1.20    Fri Apr 27 07:53:00 2007
+++ pearweb/include/notes/ManualNotes.class.php Mon Apr 30 02:43:32 2007
@@ -410,7 +410,7 @@
         $id = $comment['page_url'];
         $comment    = $comment['note_text'];
         $linkUrl    = '<a href="#' . $noteId . '">' . $time . '</a>';
-        $linkName   = '<a name="#' . $noteId . '"></a>';
+        $linkName   = '<a name="' . $noteId . '"></a>';
         include dirname(dirname(dirname(__FILE__))) . 
'/templates/notes/note.tpl.php';
     }
 

-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>